diff options
| author | 2016-02-21 18:06:32 +0100 | |
|---|---|---|
| committer | 2016-02-21 18:06:32 +0100 | |
| commit | b4864149889a749042d344625d4ffbdbd3f8a3cc (patch) | |
| tree | 32f25594a1296e634e7bd84526a463121074cafe /p | |
| parent | 264d05297c72e87b114a8e930db7eae7affe5690 (diff) | |
CSP for bookmarklet (subscription)
https://github.com/FreshRSS/FreshRSS/issues/1075
Diffstat (limited to 'p')
| -rw-r--r-- | p/scripts/main.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js index f07cdafd7..cfde5fd4e 100644 --- a/p/scripts/main.js +++ b/p/scripts/main.js @@ -1245,6 +1245,12 @@ function init_configuration_alert() { }); } +function init_subscription() { + $('body').on('click', '.bookmarkClick', function (e) { + return false; + }); +} + function parseJsonVars() { var jsonVars = document.getElementById('jsonVars'), json = JSON.parse(jsonVars.innerHTML); @@ -1281,6 +1287,7 @@ function init_all() { init_notifs_html5(); window.setInterval(refreshUnreads, 120000); } else { + init_subscription(); init_crypto_form(); init_share_observers(); init_remove_observers(); |
