summaryrefslogtreecommitdiff
path: root/js/form/Select.js
diff options
context:
space:
mode:
authorfox <[email protected]>2019-04-14 14:15:13 +0000
committerGogs <[email protected]>2019-04-14 14:15:13 +0000
commit525298569ec9041e672dee60e20565b2e0dc0923 (patch)
tree3754456ae513d7c59e872a35880317e578d7df4b /js/form/Select.js
parenta2be311f524f6456b9b22fbf2c0cd5a847240a10 (diff)
parente38fcd6deac9a63654fb0eb61fffa9ad747e4c50 (diff)
Merge branch 'hotkeys-focus' of suraia/tt-rss into master
Diffstat (limited to 'js/form/Select.js')
-rwxr-xr-xjs/form/Select.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/form/Select.js b/js/form/Select.js
new file mode 100755
index 000000000..c62db1821
--- /dev/null
+++ b/js/form/Select.js
@@ -0,0 +1,8 @@
+/* global dijit */
+define(["dojo/_base/declare", "dijit/form/Select"], function (declare) {
+ return declare("fox.form.Select", dijit.form.Select, {
+ focus: function() {
+ return; // Stop dijit.form.Select from keeping focus after closing the menu
+ },
+ });
+});