Skip to content

Commit 79e9a62

Browse files
authored
Merge pull request #23 from Hobart2967/allow-multiple-markers
feat: Allow multiple markers to be applied
2 parents e557fc8 + 46b3ad1 commit 79e9a62

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/scripts/modal.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,12 @@ function _addEnvironmentLabel() {
6565
if(CURRENT_LOCATION.indexOf(PLUGIN_STATE.strictList[i].address) > -1) {
6666
CURRENT_CONFIG = PLUGIN_STATE.strictList[i];
6767
_addMarker(CURRENT_CONFIG);
68-
return;
6968
}
7069
}
7170
for(var i = 0; i<PLUGIN_STATE.regexList.length; i++) {
7271
if(PLUGIN_STATE.regexList[i].regex.test(CURRENT_DOMAIN)) {
7372
CURRENT_CONFIG = PLUGIN_STATE.regexList[i];
7473
_addMarker(CURRENT_CONFIG);
75-
return;
7674
}
7775
}
7876
});

0 commit comments

Comments
 (0)