mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 13:29:56 +00:00
Style tweaks
This commit is contained in:
parent
edc71cb920
commit
e6a7a0db1e
@ -32,7 +32,6 @@ function parseFilterOperation(operators,filterString,p) {
|
|||||||
if(filterString.charAt(p) === "!") {
|
if(filterString.charAt(p) === "!") {
|
||||||
operator.prefix = filterString.charAt(p++);
|
operator.prefix = filterString.charAt(p++);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get the operator name
|
// Get the operator name
|
||||||
var nextBracketPos = filterString.substring(p).search(/[\[\{\/]/);
|
var nextBracketPos = filterString.substring(p).search(/[\[\{\/]/);
|
||||||
if(nextBracketPos === -1) {
|
if(nextBracketPos === -1) {
|
||||||
@ -45,7 +44,7 @@ function parseFilterOperation(operators,filterString,p) {
|
|||||||
// Any suffix?
|
// Any suffix?
|
||||||
var colon = operator.operator.indexOf(':');
|
var colon = operator.operator.indexOf(':');
|
||||||
if(colon > -1) {
|
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";
|
operator.operator = operator.operator.substring(0,colon) || "field";
|
||||||
}
|
}
|
||||||
// Empty operator means: title
|
// Empty operator means: title
|
||||||
|
Loading…
Reference in New Issue
Block a user