mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-04-06 02:37:14 +00:00
removed the handled variable
because it serves no purpose here. That test isn't required in this context.
This commit is contained in:
parent
e55c5b0669
commit
848e351685
@ -42,10 +42,7 @@ KeyboardWidget.prototype.render = function(parent,nextSibling) {
|
||||
// Add a keyboard event handler
|
||||
domNode.addEventListener("keydown",function (event) {
|
||||
if($tw.utils.checkKeyDescriptor(event,self.keyInfo)) {
|
||||
var handled = false;
|
||||
if(self.invokeActions(this,event)) {
|
||||
handled = true;
|
||||
}
|
||||
self.invokeActions(this,event);
|
||||
self.dispatchMessage(event);
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
|
Loading…
x
Reference in New Issue
Block a user