Merge pull request #1898 from Firefishy/patch-1

Add googleapis.com
This commit is contained in:
John Firebaugh
2013-10-16 05:10:51 -07:00

View File

@@ -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;