kopia lustrzana https://github.com/miklobit/TiddlyWiki5
fix wiki.search options invert init problem (#5542)
rodzic
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);
|
||||
}
|
||||
});
|
||||
|
|
Ładowanie…
Reference in New Issue