зеркало из https://github.com/nextcloud/news.git
also use l for star (9gag, like)
This commit is contained in:
Родитель
cca3ff47f0
Коммит
025cbba00f
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче