From de239ffba0d6954fc39a34e3c73110aea4e0afbb Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Thu, 1 Jun 2017 23:41:57 +0200 Subject: Bookmarklet now get the title of the document. --- src/web/templates/edit_bookmark.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/web/templates') diff --git a/src/web/templates/edit_bookmark.html b/src/web/templates/edit_bookmark.html index da7c0eaa..efd9d775 100644 --- a/src/web/templates/edit_bookmark.html +++ b/src/web/templates/edit_bookmark.html @@ -66,7 +66,7 @@

{{ _('You can add a bookmark with a bookmarklet. Drag the following button to your browser bookmarks.') }}

- {{ _('Bookmark this page using Newspipe', bookmarklet='javascript:window.location="%s?href="+encodeURIComponent(document.location)' % url_for('bookmark.bookmarklet', _external=True)) }} + {{ _('Bookmark this page using Newspipe', bookmarklet='javascript:window.location="%s?href="+encodeURIComponent(document.location)+"&title="+document.title' % url_for('bookmark.bookmarklet', _external=True)) }}
-- cgit