alphagov/static — pull request #216 by jackfranklin (2013-04-12 11:37:54+00:00)
Title: Always hide the global browser prompt, regardless of JS

ZenDesk Ticket 86304

This always hides the browser prompt by default, regardless of if JS is enabled or not.

Currently is JS is not enabled the user will always see the "Upgrade your browser" message. If JS isn't on we can't make any guesses or figure out which browser they are on, so rather than bug a user with the message, let's just hide it.

The user in the ZenDesk ticket above is a Firefox user who browses without JS, and he was seing the upgrade message all the time (without JS you can't dismiss it). Clearly this isn't good.