Skip to content

Commit

Permalink
fix: remove obsolute window namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
dnlkoch committed Jun 22, 2022
1 parent f7b6e5f commit ff0726b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/ShogunApplicationUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ class ShogunApplicationUtil<T extends Application, S extends Layer> {
return;
}

imageElement.src = window.URL.createObjectURL(await response.blob());
imageElement.src = URL.createObjectURL(await response.blob());
} catch (error) {
Logger.error('Error while loading WMS: ', error);
}
Expand Down

0 comments on commit ff0726b

Please sign in to comment.