diff options
| author | 2015-01-07 14:59:18 +0100 | |
|---|---|---|
| committer | 2015-01-07 14:59:18 +0100 | |
| commit | 0140448a562b97859be0b9a6e480e1f6aa4d1b1d (patch) | |
| tree | 02cfb3cc6b4e0e3af8d096c44c8c5bf2c70f7ae8 /p/scripts | |
| parent | bd199c617081f0354576afd09e9427756873afd2 (diff) | |
Refactor FreshRSS_Share object to be more usable
- FreshRSS_Share is the only object we manipulate
- Add a way to register new share options easily
- Move some i18n keys from index.php to gen.php
See https://github.com/FreshRSS/FreshRSS/issues/730
Diffstat (limited to 'p/scripts')
| -rw-r--r-- | p/scripts/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js index e48630d89..e8bd66fc1 100644 --- a/p/scripts/main.js +++ b/p/scripts/main.js @@ -1086,7 +1086,7 @@ function init_print_action() { } function init_share_observers() { - shares = $('.form-group:not(".form-actions")').length; + shares = $('.group-share').length; $('.share.add').on('click', function(e) { var opt = $(this).siblings('select').find(':selected'); |
