From: Robert Kaiser Date: Fri, 14 Sep 2012 01:51:10 +0000 (+0200) Subject: hide copyright field as well, but make sure it's shown when we change maps and might... X-Git-Tag: legacy-preGL~62 X-Git-Url: https://git-public.kairo.at/?p=lantea.git;a=commitdiff_plain;h=b5c85133ec6760a5f4b9ea49d074ec37f044112d;hp=77d82263ff95adc00f8a0e4aa14000001d726c4a hide copyright field as well, but make sure it's shown when we change maps and might change this text --- diff --git a/index.html b/index.html index 7a0753d..2bfb6b5 100644 --- a/index.html +++ b/index.html @@ -54,7 +54,7 @@ Map style:

- + Please use a browser that supports <canvas> elements. diff --git a/js/map.js b/js/map.js index d07cd74..dd3b573 100644 --- a/js/map.js +++ b/js/map.js @@ -187,6 +187,7 @@ function setMapStyle() { gTiles = {}; document.getElementById("copyright").innerHTML = gMapStyles[gActiveMap].copyright; + showUI(); drawMap(); } } diff --git a/style/lantea.css b/style/lantea.css index 823745a..d1ca01e 100644 --- a/style/lantea.css +++ b/style/lantea.css @@ -105,6 +105,9 @@ h1 { padding: 0 3px; } +#copyright.hidden { + opacity: 0; +} @media screen and (max-width: 500px) { body {