diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/app/directives/itemshortcuts.coffee | 2 | ||||
-rw-r--r-- | js/public/app.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/js/app/directives/itemshortcuts.coffee b/js/app/directives/itemshortcuts.coffee index 546ea4dde..e100b2dd2 100644 --- a/js/app/directives/itemshortcuts.coffee +++ b/js/app/directives/itemshortcuts.coffee @@ -82,7 +82,7 @@ angular.module('News').directive 'itemShortcuts', ['$window', ($window) -> starCurrentItem = (scrollArea) -> $item = getCurrentItem(scrollArea) - $item.find('.star').trigger('click') + $item.find('.item_utils .star').trigger('click') expandCurrentItem = (scrollArea) -> $item = getCurrentItem(scrollArea) diff --git a/js/public/app.js b/js/public/app.js index c729c90b0..e314695ca 100644 --- a/js/public/app.js +++ b/js/public/app.js @@ -261,7 +261,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>. starCurrentItem = function(scrollArea) { var $item; $item = getCurrentItem(scrollArea); - return $item.find('.star').trigger('click'); + return $item.find('.item_utils .star').trigger('click'); }; expandCurrentItem = function(scrollArea) { var $item; |