From e9afeca13e0cb14ae9c2aac664671c572b547533 Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 27 Aug 2013 08:44:41 +0000 Subject: [PATCH] same for default site dialog --- static/js/siteDialog.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/static/js/siteDialog.js b/static/js/siteDialog.js index 1ef9931e..e63022c5 100644 --- a/static/js/siteDialog.js +++ b/static/js/siteDialog.js @@ -144,6 +144,12 @@ pandora.ui.siteDialog = function(section) { } else if (selected == 'news') { pandora.$ui.news.resize(data); } + }, + key_down: function() { + pandora.user.ui.page == 'news' && pandora.$ui.news.selectItem(1); + }, + key_up: function() { + pandora.user.ui.page == 'news' && pandora.$ui.news.selectItem(-1); } });