summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2013-12-19 19:07:35 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2013-12-19 19:07:35 +0100
commita74f2eed1f57ad0e94fbbcd7f24309d630465605 (patch)
tree996c3f42adab1d8004dbb990efe89520606ed43c
parentcc45f95cd8a3c7ff28866284ef29e403e15ec04c (diff)
fix star shortcut1.801
-rw-r--r--js/app/directives/itemshortcuts.coffee2
-rw-r--r--js/public/app.js2
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;