1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 10:29:54 +00:00

Fix problem with 'has' operator

Fixes problem introduced in 6085936475
This commit is contained in:
Jermolene 2017-02-23 14:27:43 +00:00
parent 617ec82a22
commit ad1c2a6571

View File

@ -36,7 +36,7 @@ exports.has = function(source,operator,options) {
} else {
if(invert) {
source(function(tiddler,title) {
if(!tiddler || !$tw.utils.hop(tiddler.fields,operator.operand) || (tiddler.fields[operator.operand] !== "")) {
if(!tiddler || !$tw.utils.hop(tiddler.fields,operator.operand) || (tiddler.fields[operator.operand] === "")) {
results.push(title);
}
});