1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-12 16:58:37 +00:00

use 2 seprate variable for autoclosing windows to avoid to quick closing when sharing, the popup can be close before the link is save

This commit is contained in:
banux 2013-10-27 07:47:14 +01:00
parent 363bc4eb86
commit f616ab60ef
2 changed files with 3 additions and 3 deletions

View 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();
}
});
});