]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Remove automatic closing of the window from bookmarklet 2414/head
authorKrzysztof Szafranek <ebraun@o2.pl>
Sun, 9 Oct 2016 20:40:55 +0000 (22:40 +0200)
committerKrzysztof Szafranek <ebraun@o2.pl>
Sun, 9 Oct 2016 20:40:55 +0000 (22:40 +0200)
src/Wallabag/CoreBundle/Resources/views/themes/common/Static/_bookmarklet.html.twig

index 966a84dbbaff225e5cadc9f14880d6762bc5e4e6..3385cd535fa3ef25cf0bde22937b881a8f7e5f35 100644 (file)
@@ -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>