diff options
author | Gemorroj <wapinet@gmail.com> | 2013-01-26 16:35:29 +0400 |
---|---|---|
committer | Gemorroj <wapinet@gmail.com> | 2013-01-26 16:35:29 +0400 |
commit | fc51a91713b1e99e0aee9aa778402ee59f860d3d (patch) | |
tree | 546859f5467b6b3a7badb32a7b388887e28b6c07 /js/get_image.js.php | |
parent | c3f2796544bf027ac85577cd18715b0c7af7de94 (diff) |
many some minor fixes (sorry, see diff)
Diffstat (limited to 'js/get_image.js.php')
-rw-r--r-- | js/get_image.js.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/get_image.js.php b/js/get_image.js.php index d61e094f10..0861fa3c5f 100644 --- a/js/get_image.js.php +++ b/js/get_image.js.php @@ -52,7 +52,7 @@ foreach ($sprites as $key => $value) { */ function PMA_getImage(image, alternate, attributes) { var in_array = function (needle, haystack) { - for (i in haystack) { + for (var i in haystack) { if (haystack[i] == needle) { return true; } @@ -134,5 +134,5 @@ function PMA_getImage(image, alternate, attributes) { } return retval; -}; +} //
\ No newline at end of file |