mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-11-02 16:43:00 +00:00
Fixed tag autocomplete popup on focus
This commit is contained in:
@@ -30,7 +30,7 @@ Popup.prototype.show = function(options) {
|
||||
};
|
||||
|
||||
Popup.prototype.handleEvent = function(event) {
|
||||
if(event.type === "click" && !$tw.utils.domContains(this.anchorDomNode,event.target)) {
|
||||
if(event.type === "click" && this.anchorDomNode !== event.target && !$tw.utils.domContains(this.anchorDomNode,event.target)) {
|
||||
this.cancel();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user