]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - themes/default/js/autoClose.js
better wallabag in wallabag button (see #685)
[github/wallabag/wallabag.git] / themes / default / js / autoClose.js
index 3035d423fc82a69f7ecafd4c3e41fbc1f9032efc..e9145b7e2e091b5443fc39b1d9a336a5180b8fdb 100644 (file)
@@ -1,6 +1,6 @@
 $(document).ready(function() {
        current_url = window.location.href
-       if (current_url.match("&autoclose=true")) {
+       if (current_url.match("&closewin=true")) {
                window.close();
        }
-});
\ No newline at end of file
+});