diff options
author | Krzysztof Szafranek <ebraun@o2.pl> | 2016-10-09 22:40:55 +0200 |
---|---|---|
committer | Krzysztof Szafranek <ebraun@o2.pl> | 2016-10-09 22:40:55 +0200 |
commit | d8a9209cfcc32f1031f9f857932351e0ee0f49d3 (patch) | |
tree | 2fc2943b1fdbca5fdf8bb6d4c07e16362c8a909f | |
parent | e39aec3e38144f1a2ddb0027ec724e3dfd6f53f1 (diff) | |
download | wallabag-d8a9209cfcc32f1031f9f857932351e0ee0f49d3.tar.gz wallabag-d8a9209cfcc32f1031f9f857932351e0ee0f49d3.tar.zst wallabag-d8a9209cfcc32f1031f9f857932351e0ee0f49d3.zip |
Remove automatic closing of the window from bookmarklet
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/common/Static/_bookmarklet.html.twig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/_bookmarklet.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/_bookmarklet.html.twig index 966a84db..3385cd53 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/_bookmarklet.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/_bookmarklet.html.twig | |||
@@ -1 +1 @@ | |||
<a id="bookmarklet" ondragend="this.click();" href="javascript:var url=location.href||url;var wllbg=window.open('{{ url('bookmarklet') }}?url=' + encodeURI(url),'_blank');wllbg.close();void(0);">bag it!</a> | <a id="bookmarklet" ondragend="this.click();" href="javascript:(function(){var url=location.href||url;var wllbg=window.open('{{ url('bookmarklet') }}?url=' + encodeURI(url),'_blank');})();">bag it!</a> | ||