Browse Source

Fix: Remove http prefix for bookmarklet to adapt to https page

tags/v2.0.1
winkidney 5 years ago
parent
commit
2ef9df9cfc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      pinry/templates/includes/bookmarklet_link.html

+ 1
- 1
pinry/templates/includes/bookmarklet_link.html View File

@@ -1,6 +1,6 @@
<a <a
id="bookmarklet" id="bookmarklet"
href="javascript:void((function(d){var s=d.createElement('script');s.id='pinry-bookmarklet';s.src='http://{{ request.get_host }}/static/js/bookmarklet.js?'+Math.random()*10000000000000000;d.body.appendChild(s)})(document));"
href="javascript:void((function(d){var s=d.createElement('script');s.id='pinry-bookmarklet';s.src='//{{ request.get_host }}/static/js/bookmarklet.js?'+Math.random()*10000000000000000;d.body.appendChild(s)})(document));"
onclick="javascript:alert('Please add a bookmark for this button');return false;" onclick="javascript:alert('Please add a bookmark for this button');return false;"
class="btn btn-default navbar-btn" class="btn btn-default navbar-btn"
> >


Loading…
Cancel
Save