diff options
author | Thomas Citharel <tcit@tcit.fr> | 2015-02-04 23:37:37 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2015-02-04 23:37:37 +0100 |
commit | 1c91178932cd5b48d793261c6631697186853a93 (patch) | |
tree | 6bf890e40e92e100dcd5f86540d8d5934b7f4b4a /themes/default | |
parent | 3fb0d44a67e9a88ad5669a4bf554069ad19877b0 (diff) | |
download | wallabag-1c91178932cd5b48d793261c6631697186853a93.tar.gz wallabag-1c91178932cd5b48d793261c6631697186853a93.tar.zst wallabag-1c91178932cd5b48d793261c6631697186853a93.zip |
fix autoclose (#984) and bookmarklet mode
Diffstat (limited to 'themes/default')
-rwxr-xr-x | themes/default/config.twig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/config.twig b/themes/default/config.twig index bac563cf..87f964c9 100755 --- a/themes/default/config.twig +++ b/themes/default/config.twig | |||
@@ -27,7 +27,7 @@ | |||
27 | </ul> | 27 | </ul> |
28 | <h3>{% trans "Bookmarklet" %}</h3> | 28 | <h3>{% trans "Bookmarklet" %}</h3> |
29 | <p> | 29 | <p> |
30 | {% trans "Drag & drop this link to your bookmarks bar:" %} <a id="bookmarklet" ondragend="this.click();" href="javascript:if(top['bookmarklet-url@wallabag.org']){top['bookmarklet-url@wallabag.org'];}else{(function(){var%20url%20=%20location.href%20||%20url;window.open('{{ poche_url }}?action=add&url='%20+%20btoa(url),'_self');})();void(0);}">{% trans "bag it!" %}</a> | 30 | {% trans "Drag & drop this link to your bookmarks bar:" %} <a id="bookmarklet" ondragend="this.click();" href="javascript:if(top['bookmarklet-url@wallabag.org']){top['bookmarklet-url@wallabag.org'];}else{(function(){var%20url%20=%20location.href%20||%20url;window.open('{{ poche_url }}?action=add&autoclose=true&url='%20+%20btoa(url),'_blank');})();void(0);}">{% trans "bag it!" %}</a> |
31 | </p> | 31 | </p> |
32 | 32 | ||
33 | <h2>{% trans "Feeds" %}</h2> | 33 | <h2>{% trans "Feeds" %}</h2> |