mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-14 12:31:00 +02:00
Also take care of 2 'no-prototype-builtins' and a 'no-useless-escape'. * https://eslint.org/docs/latest/rules/no-redeclare * https://eslint.org/docs/latest/rules/no-prototype-builtins * https://eslint.org/docs/latest/rules/no-useless-escape
16 lines
491 B
JavaScript
Executable File
16 lines
491 B
JavaScript
Executable File
/* global define */
|
|
|
|
define(["dojo/_base/declare", "dijit/Toolbar"], function (declare) {
|
|
return declare("fox.Toolbar", dijit.Toolbar, {
|
|
_onContainerKeydown: function(/* Event */ /* e */) {
|
|
return; // Stop dijit.Toolbar from interpreting keystrokes
|
|
},
|
|
_onContainerKeypress: function(/* Event */ /* e */) {
|
|
return; // Stop dijit.Toolbar from interpreting keystrokes
|
|
},
|
|
focus: function() {
|
|
return; // Stop dijit.Toolbar from focusing the first child on click
|
|
},
|
|
});
|
|
});
|