diff --git a/src/layer/marker/Icon.Default.js b/src/layer/marker/Icon.Default.js index 3a0276d1..25094bee 100644 --- a/src/layer/marker/Icon.Default.js +++ b/src/layer/marker/Icon.Default.js @@ -19,7 +19,7 @@ L.Icon.Default = L.Icon.extend({ return this.options[key]; } - if (L.Browser.retina && name == 'icon') { + if (L.Browser.retina && name === 'icon') { name += '@2x'; }