X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=themes%2Fdefault%2Fjs%2FautoClose.js;h=e9145b7e2e091b5443fc39b1d9a336a5180b8fdb;hb=08dde123b1976f3db9545d58fdb497072328f96a;hp=3035d423fc82a69f7ecafd4c3e41fbc1f9032efc;hpb=363bc4eb8642d464cc0c099f7ab72a425b56b463;p=github%2Fwallabag%2Fwallabag.git diff --git a/themes/default/js/autoClose.js b/themes/default/js/autoClose.js index 3035d423..e9145b7e 100644 --- a/themes/default/js/autoClose.js +++ b/themes/default/js/autoClose.js @@ -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 +});