kopia lustrzana https://github.com/miklobit/TiddlyWiki5
removed the handled variable
because it serves no purpose here. That test isn't required in this context.print-window-tiddler
rodzic
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();
|
||||
|
|
Ładowanie…
Reference in New Issue