static/js/ie8-responsive-file-warning.js
changeset 2 9882b5b76eb4
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/static/js/ie8-responsive-file-warning.js	Wed Nov 27 12:56:54 2013 +0100
     1.3 @@ -0,0 +1,12 @@
     1.4 +// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT
     1.5 +// IT'S JUST JUNK FOR OUR DOCS!
     1.6 +// ++++++++++++++++++++++++++++++++++++++++++
     1.7 +/*!
     1.8 + * Copyright 2013 Twitter, Inc.
     1.9 + *
    1.10 + * Licensed under the Creative Commons Attribution 3.0 Unported License. For
    1.11 + * details, see http://creativecommons.org/licenses/by/3.0/.
    1.12 + */
    1.13 +// Intended to prevent false-positive bug reports about responsive styling supposedly not working in IE8.
    1.14 +if (window.location.protocol == 'file:')
    1.15 +  alert("ERROR: Bootstrap's responsive CSS is disabled!\nSee getbootstrap.com/getting-started/#respond-file-proto for details.")
    1.16 \ No newline at end of file
Impressum Datenschutzerklärung