fixes mapbox/carto#288
This commit is contained in:
parent
8b0940b2c3
commit
9e8eebcd5a
@ -673,7 +673,7 @@ carto.Parser = function Parser(env) {
|
||||
zoom: function() {
|
||||
save();
|
||||
var op, val;
|
||||
if ($(/^\[zoom/g) &&
|
||||
if ($(/^\[\s*zoom/g) &&
|
||||
(op = $(this.entities.comparison)) &&
|
||||
(val = $(/^\d+/)) &&
|
||||
$(']')) {
|
||||
|
Loading…
Reference in New Issue
Block a user