mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-11 09:50:27 +00:00
Merge pull request #2125 from tobibeer/set-emptyValue-always
always set emptyValue, not just for filter
This commit is contained in:
commit
7676f93932
@ -61,6 +61,8 @@ SetWidget.prototype.getValue = function() {
|
||||
if(results.length === 0 && this.setEmptyValue !== undefined) {
|
||||
value = this.setEmptyValue;
|
||||
}
|
||||
} else if(!value && this.setEmptyValue) {
|
||||
value = this.setEmptyValue;
|
||||
}
|
||||
return value;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user