]> git.openstreetmap.org Git - rails.git/commit
Avoid flickering welcome banner
authorTom Hughes <tom@compton.nu>
Mon, 10 Sep 2018 20:21:43 +0000 (21:21 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 10 Sep 2018 20:21:43 +0000 (21:21 +0100)
commit1a66467ef610901163e3dd15167a66df7af1b4d2
treec0cb0c04697f2f1f5da1eac288722a71a2f82301
parenta7cdb0298d1e4ac2c0685617786c2d20047691a1
Avoid flickering welcome banner

Make the welcome banner default to being hidden and then show
it (by adding a class) if there is no cookie.

Fixes #1951
app/assets/javascripts/index.js
app/assets/stylesheets/common.scss
app/assets/stylesheets/small.scss