mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
fix wiki.search options invert init problem (#5542)
This commit is contained in:
parent
85646e5db3
commit
05acf3dce4
@ -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);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user