mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 13:29:56 +00:00
Temporarily disable the search popup focus handling
Just so that search works again
This commit is contained in:
parent
5e2c3db385
commit
1a74d8526f
@ -106,9 +106,9 @@ console.log("event type",event.type);
|
||||
TextEditor.prototype.saveChanges = function() {
|
||||
var text = this.macroNode.child.children[0].domNode.value,
|
||||
tiddler = this.macroNode.wiki.getTiddler(this.macroNode.editTiddler);
|
||||
if(this.macroNode.params.requireFocus === "yes" && document.activeElement !== this.macroNode.child.children[0].domNode) {
|
||||
text = this.macroNode.params["default"] || "";
|
||||
}
|
||||
// if(this.macroNode.params.requireFocus === "yes" && document.activeElement !== this.macroNode.child.children[0].domNode) {
|
||||
// text = this.macroNode.params["default"] || "";
|
||||
// }
|
||||
if(!tiddler) {
|
||||
tiddler = new $tw.Tiddler({title: this.macroNode.editTiddler});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user