From b71fb3ad20a6d8225a2cb0fe3bac4d5dc9697df0 Mon Sep 17 00:00:00 2001 From: John McLear Date: Tue, 23 Dec 2014 02:38:50 +0000 Subject: [PATCH] fix issue with attributes --- src/static/js/linestylefilter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static/js/linestylefilter.js b/src/static/js/linestylefilter.js index 757fac5ae..675f19d02 100644 --- a/src/static/js/linestylefilter.js +++ b/src/static/js/linestylefilter.js @@ -60,7 +60,7 @@ linestylefilter.getLineStyleFilter = function(lineLength, aline, textAndClassFun // Plugin Hook to add more Attrib Classes hooks.aCallAll('aceAttribClasses', linestylefilter.ATTRIB_CLASSES, function(err, ATTRIB_CLASSES){ - if(ATTRIB_CLASSES){ + if(ATTRIB_CLASSES.length >= 1){ linestylefilter.ATTRIB_CLASSES = ATTRIB_CLASSES[0]; } });