mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2025-12-28 12:52:47 -08:00
Fix further typo in edit-text widget
This commit is contained in:
parent
bbe9a9c191
commit
ccb7fac25e
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue