]> mj.ucw.cz Git - gallery.git/commitdiff
Fixed typo in custom JS
authorMartin Mares <mj@ucw.cz>
Fri, 14 Feb 2014 22:25:53 +0000 (23:25 +0100)
committerMartin Mares <mj@ucw.cz>
Sun, 8 Feb 2015 20:14:18 +0000 (21:14 +0100)
gal/highslide/custom.js

index e9225ae45218f2c147f741923240d9784853d1a1..ae7699312f3bf7b613d1412ca6e135cc269853ed 100644 (file)
@@ -86,7 +86,7 @@ if(window.onload) {
 } else window.onload = showDefaultImage;
 
 if(window.onhashchange) {
-       var curronload = window.onHashChange;
+       var current = window.onHashChange;
        var newAction = function() {
                current();
                checkHashChange();