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
dfc1d3e8f325cdd90d76e26d45668870181ec3b8
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: 1527ms Template: 385ms
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