summaryrefslogtreecommitdiff
path: root/js/tt-rss.js
diff options
context:
space:
mode:
authorMichael Kuhn <[email protected]>2019-04-13 22:36:15 +0200
committerMichael Kuhn <[email protected]>2019-04-14 12:01:52 +0200
commite38fcd6deac9a63654fb0eb61fffa9ad747e4c50 (patch)
treeb44675f21eaad01efd8b8ab83cc97dc28a499ee5 /js/tt-rss.js
parent4a2a90c980bb7436150ed82556fdb6f4db3ff138 (diff)
Fix button focus issues
This change introduces derived classes for ComboButton, DropDownButton and Select that make sure that buttons do not remain focused after their menus are closed. This allows using hotkeys after closing them.
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r--js/tt-rss.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js
index 5db742f07..bf0434a95 100644
--- a/js/tt-rss.js
+++ b/js/tt-rss.js
@@ -55,7 +55,10 @@ require(["dojo/_base/kernel",
"fox/Article",
"fox/FeedStoreModel",
"fox/FeedTree",
- "fox/Toolbar"], function (dojo, declare, ready, parser, AppBase) {
+ "fox/Toolbar",
+ "fox/form/Select",
+ "fox/form/ComboButton",
+ "fox/form/DropDownButton"], function (dojo, declare, ready, parser, AppBase) {
ready(function () {
try {