mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-25 23:13:42 +00:00
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user