summaryrefslogtreecommitdiff
path: root/modules/gallery/js/quick.js
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-08-05 09:24:27 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-08-05 09:24:27 -0700
commit9f396178cedc96abb282e72ff0e843e255c8225a (patch)
tree48c514bea04f4c5f07599086a8b79d99fcb70230 /modules/gallery/js/quick.js
parent397468c47b8fc3fefeb54ff19a73980ed1dd8c20 (diff)
Revert "Allow a theme to override the page refresh mechanism. Create a new"
This reverts commit 1f014aae6c16bbda62d8f5937180f11ccb0eb1b1.
Diffstat (limited to 'modules/gallery/js/quick.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();
}
}
});