Add google.ru

This commit is contained in:
Tom MacWright
2013-10-15 13:50:25 -04:00
parent ac171cab0a
commit b1efa919cf
+2 -1
View File
@@ -43,7 +43,8 @@ iD.ui.Background = function(context) {
function clickCustom() {
d3.event.preventDefault();
var template = window.prompt(t('background.custom_prompt'));
if (!template || template.indexOf('google.com') !== -1) {
if (!template || template.indexOf('google.com') !== -1 ||
template.indexOf('google.ru') !== -1) {
selectLayer();
return;
}