mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-19 15:08:23 +02:00
Clear cache when changing source
This commit is contained in:
@@ -165,6 +165,7 @@ iD.Background = function() {
|
||||
background.source = function(_) {
|
||||
if (!arguments.length) return source;
|
||||
source = _;
|
||||
cache = {};
|
||||
setPermalink(source);
|
||||
return background;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user