mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-17 23:34:50 +00:00
Fix further typo in edit-text widget
This commit is contained in:
parent
bbe9a9c191
commit
ccb7fac25e
@ -80,8 +80,8 @@ EditTextWidget.prototype.getEditInfo = function() {
|
||||
value = this.wiki.extractTiddlerDataItem(this.editTitle,this.editIndex,this.editDefault);
|
||||
update = function(value) {
|
||||
var data = self.wiki.getTiddlerData(self.editTitle,{});
|
||||
if(data[self.editIndex] !== text) {
|
||||
data[self.editIndex] = text;
|
||||
if(data[self.editIndex] !== value) {
|
||||
data[self.editIndex] = value;
|
||||
self.wiki.setTiddlerData(self.editTitle,data);
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user