Skip to content

Commit

Permalink
fix "This map intentionally left blank" message not showing up
Browse files Browse the repository at this point in the history
  • Loading branch information
zstadler committed Dec 16, 2023
1 parent e92f609 commit d680f40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/ide.ts
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ class IDE {
if (data_mode == "unknown") ide.switchTab("Data");
// display empty map badge
$(
`<div id="map_blank" style="z-index:5; display:block; position:relative; top:42px; width:100%; text-align:center; background-color:#eee; opacity: 0.8;">${i18n.t(
`<div id="map_blank" style="z-index:700; display:block; position:relative; top:50px; width:100%; text-align:center; background-color:#eee; opacity: 0.8;">${i18n.t(
"map.intentionally_blank"
)} <small>(${empty_msg})</small></div>`
).appendTo("#map");
Expand Down
2 changes: 1 addition & 1 deletion js/map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ $(document).ready(() => {
// overpass functionality
overpass.handlers["onEmptyMap"] = (empty_msg) => {
$(
`<div id="map_blank" style="z-index:1; display:block; position:absolute; top:42px; width:100%; text-align:center; background-color:#eee; opacity: 0.8;">This map intentionally left blank. <small>(${empty_msg})</small></div>`
`<div id="map_blank" style="z-index:700; display:block; position:absolute; top:50px; width:100%; text-align:center; background-color:#eee; opacity: 0.8;">This map intentionally left blank. <small>(${empty_msg})</small></div>`
).appendTo("#map");
};
if (settings.silent) {
Expand Down

0 comments on commit d680f40

Please sign in to comment.