mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-14 17:52:55 +00:00
fix turning off tiger overlay, fixes #1349
This commit is contained in:
@@ -163,7 +163,7 @@ iD.Background = function(backgroundType) {
|
||||
|
||||
function setHash(source) {
|
||||
var tag = source.data && source.data.sourcetag;
|
||||
if (!tag && source.data.name === 'Custom') {
|
||||
if (!tag && source.data && source.data.name === 'Custom') {
|
||||
tag = 'custom:' + source.data.template;
|
||||
}
|
||||
var q = iD.util.stringQs(location.hash.substring(1));
|
||||
|
||||
Reference in New Issue
Block a user