diff options
-rw-r--r-- | js/app/directives/itemshortcuts.coffee | 4 | ||||
-rw-r--r-- | js/public/app.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/js/app/directives/itemshortcuts.coffee b/js/app/directives/itemshortcuts.coffee index 7c27b281a..3ddcda37c 100644 --- a/js/app/directives/itemshortcuts.coffee +++ b/js/app/directives/itemshortcuts.coffee @@ -103,8 +103,8 @@ angular.module('News').directive 'itemShortcuts', ['$window', ($window) -> else if e.keyCode == 85 keepUnreadCurrentItem(scrollArea) - # s or i - else if e.keyCode == 73 or e.keyCode == 83 + # s or i or l + else if e.keyCode == 73 or e.keyCode == 83 or e.keyCode == 76 starCurrentItem(scrollArea) diff --git a/js/public/app.js b/js/public/app.js index 18aadc4c7..01bb7cbae 100644 --- a/js/public/app.js +++ b/js/public/app.js @@ -232,7 +232,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>. return jumpToPreviousItem(scrollArea); } else if (e.keyCode === 85) { return keepUnreadCurrentItem(scrollArea); - } else if (e.keyCode === 73 || e.keyCode === 83) { + } else if (e.keyCode === 73 || e.keyCode === 83 || e.keyCode === 76) { return starCurrentItem(scrollArea); } } |