diff options
author | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2016-10-10 07:11:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-10 07:11:01 +0200 |
commit | 8eeefc658c500c0839512ac2e259e194ab943d2c (patch) | |
tree | b0da4d37610807f7b0049b8ed6f7e1ae05f622cf /src | |
parent | e93c9dc4ab568e9f894f966967983826134b0f76 (diff) | |
parent | d8a9209cfcc32f1031f9f857932351e0ee0f49d3 (diff) | |
download | wallabag-8eeefc658c500c0839512ac2e259e194ab943d2c.tar.gz wallabag-8eeefc658c500c0839512ac2e259e194ab943d2c.tar.zst wallabag-8eeefc658c500c0839512ac2e259e194ab943d2c.zip |
Merge pull request #2414 from szafranek/bugfix-bookmarklet
Remove automatic closing of the window from bookmarklet
Diffstat (limited to 'src')
-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> | ||