From a74f2eed1f57ad0e94fbbcd7f24309d630465605 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 19 Dec 2013 19:07:35 +0100 Subject: fix star shortcut --- js/app/directives/itemshortcuts.coffee | 2 +- 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 . 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; -- cgit v1.2.3