mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-01 18:38:02 +00:00
fix wiki.search options invert init problem (#5542)
This commit is contained in:
@@ -1242,7 +1242,7 @@ exports.search = function(text,options) {
|
||||
var results = [],
|
||||
source = options.source || this.each;
|
||||
source(function(tiddler,title) {
|
||||
if(searchTiddler(title) !== options.invert) {
|
||||
if(searchTiddler(title) !== invert) {
|
||||
results.push(title);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user