Skip to content

Commit

Permalink
fix template syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Molly Lloyd committed Dec 19, 2016
1 parent 5456019 commit 0a14fc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/ui/marker.js
Expand Up @@ -151,7 +151,7 @@ class Marker {
// we only round them when _update is called with `moveend` or when its called with
// no arguments (when the Marker is initialized or Marker#setLngLat is invoked).
if (!e || e.type === "moveend") pos = pos.round();
DOM.setTransform(this._element, `translate(' + ${pos.x} + 'px,' + ${pos.y} + 'px)`);
DOM.setTransform(this._element, `translate(${pos.x}px, ${pos.y}px)`);
}
}

Expand Down

0 comments on commit 0a14fc1

Please sign in to comment.