mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-24 00:54:03 +02:00
Enable curly and block-spacing eslint rules
This commit is contained in:
@@ -365,8 +365,7 @@ export function utilPrefixDOMProperty(property) {
|
||||
var n = prefixes.length;
|
||||
var s = document.body;
|
||||
|
||||
if (property in s)
|
||||
return property;
|
||||
if (property in s) return property;
|
||||
|
||||
property = property.substr(0, 1).toUpperCase() + property.substr(1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user