aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default/js
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-10-28 00:38:05 -0700
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-10-28 00:38:05 -0700
commit05824223a991358806f91c76f6bb242cbc3816a0 (patch)
tree0e44e51550a58c4cd116a4bfd53513e39ec83198 /themes/default/js
parent2b191d8c37bd774bd3eecbf42a5ac9d948ee61a9 (diff)
parentf616ab60efc502b919b9b72f81aee2975b2e8465 (diff)
downloadwallabag-05824223a991358806f91c76f6bb242cbc3816a0.tar.gz
wallabag-05824223a991358806f91c76f6bb242cbc3816a0.tar.zst
wallabag-05824223a991358806f91c76f6bb242cbc3816a0.zip
Merge pull request #291 from banux/dev
Autoclose
Diffstat (limited to 'themes/default/js')
-rw-r--r--themes/default/js/autoClose.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/themes/default/js/autoClose.js b/themes/default/js/autoClose.js
new file mode 100644
index 00000000..e9145b7e
--- /dev/null
+++ b/themes/default/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});