mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-03-11 22:18:10 +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);
|
value = this.wiki.extractTiddlerDataItem(this.editTitle,this.editIndex,this.editDefault);
|
||||||
update = function(value) {
|
update = function(value) {
|
||||||
var data = self.wiki.getTiddlerData(self.editTitle,{});
|
var data = self.wiki.getTiddlerData(self.editTitle,{});
|
||||||
if(data[self.editIndex] !== text) {
|
if(data[self.editIndex] !== value) {
|
||||||
data[self.editIndex] = text;
|
data[self.editIndex] = value;
|
||||||
self.wiki.setTiddlerData(self.editTitle,data);
|
self.wiki.setTiddlerData(self.editTitle,data);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user