1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 12:07:19 +00:00

Style tweaks

This commit is contained in:
Jermolene 2014-01-24 18:54:50 +00:00
parent edc71cb920
commit e6a7a0db1e

View File

@ -32,7 +32,6 @@ function parseFilterOperation(operators,filterString,p) {
if(filterString.charAt(p) === "!") {
operator.prefix = filterString.charAt(p++);
}
// Get the operator name
var nextBracketPos = filterString.substring(p).search(/[\[\{\/]/);
if(nextBracketPos === -1) {
@ -45,7 +44,7 @@ function parseFilterOperation(operators,filterString,p) {
// Any suffix?
var colon = operator.operator.indexOf(':');
if(colon > -1) {
operator.field = operator.operator.substring(colon+1);
operator.field = operator.operator.substring(colon + 1);
operator.operator = operator.operator.substring(0,colon) || "field";
}
// Empty operator means: title