From b366ace77048d0165a36d6660c7d605041456f81 Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Tue, 4 Dec 2018 17:33:39 -0800 Subject: [PATCH] Switches from == to === in prior commit --- modules/ui/intro/intro.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui/intro/intro.js b/modules/ui/intro/intro.js index dbb737667..2c8368cc8 100644 --- a/modules/ui/intro/intro.js +++ b/modules/ui/intro/intro.js @@ -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'); } });