Switches from == to === in prior commit

This commit is contained in:
Quincy Morgan
2018-12-04 17:33:39 -08:00
parent 3cb2b8c901
commit b366ace770
+1 -1
View File
@@ -99,7 +99,7 @@ export function uiIntro(context) {
var layers = context.layers();
layers.all().forEach(function(item) {
// if the layer has the function `enabled`
if (typeof item.layer.enabled == 'function') {
if (typeof item.layer.enabled === 'function') {
item.layer.enabled(item.id === 'osm');
}
});