Logo
Explore Help
Sign In
pierre/wallabag
1
0
Fork 0
You've already forked wallabag
forked from wallabag/wallabag
Code Issues Pull Requests Packages Projects Releases 1 Wiki Activity
Files
00dc7622fbb25458f82b8d81dffae6f843dadece
wallabag/themes/_global/js/autoClose.js

7 lines
136 B
JavaScript
Raw Normal View History

Add a autoclose parameters. When we use sharing method in plugins like the tiny tiny rss one or the firefox plugins we can passe the autoclose=true parameters that close the popup.
2013-10-27 07:37:05 +01:00
$(document).ready(function() {
current_url = window.location.href
use 2 seprate variable for autoclosing windows to avoid to quick closing when sharing, the popup can be close before the link is save
2013-10-27 07:47:14 +01:00
if (current_url.match("&closewin=true")) {
Add a autoclose parameters. When we use sharing method in plugins like the tiny tiny rss one or the firefox plugins we can passe the autoclose=true parameters that close the popup.
2013-10-27 07:37:05 +01:00
window.close();
}
use 2 seprate variable for autoclosing windows to avoid to quick closing when sharing, the popup can be close before the link is save
2013-10-27 07:47:14 +01:00
});
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.0 Page: 1037ms Template: 9ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API