From b18fa96f952c6a3f1e73c081164d8150678fc62e Mon Sep 17 00:00:00 2001 From: tyr Date: Thu, 6 Dec 2012 11:37:57 +0100 Subject: [PATCH] fixed global var leak --- js/id/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/id/util.js b/js/id/util.js index 41e14ede0..7128673f0 100644 --- a/js/id/util.js +++ b/js/id/util.js @@ -65,7 +65,7 @@ iD.util.qsString = function(obj) { }; iD.util.prefixProperty = function(property) { - prefixes = ['webkit', 'ms', 'Moz', 'O']; + var prefixes = ['webkit', 'ms', 'Moz', 'O']; return (function prefixMatch(p) { // via mbostock var i = -1, n = p.length, s = document.body.style; if (property.toLowerCase() in s) return property.toLowerCase();