Skip to content

Commit

Permalink
Revert "Updated bookmarklet to pass site title sissbruecker#118"
Browse files Browse the repository at this point in the history
This reverts commit 873d901.
  • Loading branch information
acbgbca committed May 30, 2023
1 parent 873d901 commit a495c7d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bookmarks/templates/bookmarks/bookmarklet.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
(function () {
var bookmarkUrl = window.location;
var bookmarkTitle = document.title;
var applicationUrl = '{{ application_url }}';

applicationUrl += '?url=' + encodeURIComponent(bookmarkUrl);
applicationUrl += '&title=' + encodeURIComponent(bookmarkTitle);
applicationUrl += '&auto_close';

window.open(applicationUrl);
Expand Down

0 comments on commit a495c7d

Please sign in to comment.