From 0542a558d902976614ca7b8b40266e4f29d1367e Mon Sep 17 00:00:00 2001 From: Grant Date: Wed, 16 Oct 2013 11:49:53 +0100 Subject: [PATCH] Add googleapis.com Add googleapis.com to naughty list. --- js/id/ui/background.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/id/ui/background.js b/js/id/ui/background.js index 2cf1474b7..615206622 100644 --- a/js/id/ui/background.js +++ b/js/id/ui/background.js @@ -44,6 +44,7 @@ iD.ui.Background = function(context) { d3.event.preventDefault(); var template = window.prompt(t('background.custom_prompt')); if (!template || template.indexOf('google.com') !== -1 || + template.indexOf('googleapis.com') !== -1 || template.indexOf('google.ru') !== -1) { selectLayer(); return;