summaryrefslogtreecommitdiff
path: root/lib/gallery.reload.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gallery.reload.js')
-rw-r--r--lib/gallery.reload.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/gallery.reload.js b/lib/gallery.reload.js
new file mode 100644
index 00000000..2c8752a0
--- /dev/null
+++ b/lib/gallery.reload.js
@@ -0,0 +1,16 @@
+/**
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+(function ($) {
+ $.gallery_reload = function() {
+ window.location.reload();
+ };
+})(jQuery);
+
+// Vertically align a block element's content
+(function ($) {
+ $.gallery_location = function(location) {
+ window.location = location;
+ };
+})(jQuery);