kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Don't crash for edit enginges that don't support cancelPopups
rodzic
e752ba7c6a
commit
cb3bec65a1
|
|
@ -158,7 +158,9 @@ FramedEngine.prototype.focus = function() {
|
|||
Handle the focus event
|
||||
*/
|
||||
FramedEngine.prototype.handleFocusEvent = function(event) {
|
||||
this.widget.cancelPopups();
|
||||
if(this.widget.cancelPopups) {
|
||||
this.widget.cancelPopups();
|
||||
}
|
||||
return true;
|
||||
};
|
||||
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue