fixed global var leak

This commit is contained in:
tyr
2012-12-06 11:37:57 +01:00
parent 87252a73f1
commit b18fa96f95
+1 -1
View File
@@ -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();