summaryrefslogtreecommitdiff
path: root/modules/gallery/js
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/js')
-rw-r--r--modules/gallery/js/quick.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/js/quick.js b/modules/gallery/js/quick.js
index 4753808e..fda6470f 100644
--- a/modules/gallery/js/quick.js
+++ b/modules/gallery/js/quick.js
@@ -67,9 +67,9 @@ var quick_do = function(cont, pane, img) {
img.css("margin-top", 0);
}
} else if (data.location) {
- $.gallery_location(data.location);
+ window.location = data.location;
} else if (data.reload) {
- $.gallery_reload();
+ window.location.reload();
}
}
});