aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/_global/public/js/autoClose.js
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-01-20 14:11:26 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-01-20 14:11:26 +0100
commit79e051a1f216704752e05f5174633abf20dde582 (patch)
treee55b7f46aad7c8df42534e638b25cdbc258a3c40 /themes/_global/public/js/autoClose.js
parent97a2dd74c872891b694bff0485a0fcc9a82a09e4 (diff)
downloadwallabag-79e051a1f216704752e05f5174633abf20dde582.tar.gz
wallabag-79e051a1f216704752e05f5174633abf20dde582.tar.zst
wallabag-79e051a1f216704752e05f5174633abf20dde582.zip
restructure folders
Diffstat (limited to 'themes/_global/public/js/autoClose.js')
-rw-r--r--themes/_global/public/js/autoClose.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/themes/_global/public/js/autoClose.js b/themes/_global/public/js/autoClose.js
new file mode 100644
index 00000000..e9145b7e
--- /dev/null
+++ b/themes/_global/public/js/autoClose.js
@@ -0,0 +1,6 @@
1$(document).ready(function() {
2 current_url = window.location.href
3 if (current_url.match("&closewin=true")) {
4 window.close();
5 }
6});