From e6a7a0db1e7bd451a9cacf44057e516abec1ee54 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Fri, 24 Jan 2014 18:54:50 +0000 Subject: [PATCH] Style tweaks --- core/modules/filters.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/modules/filters.js b/core/modules/filters.js index 831ae5780..4e7afa6e5 100644 --- a/core/modules/filters.js +++ b/core/modules/filters.js @@ -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