diff options
| author | Zlatan Vasović <[email protected]> | 2014-03-07 17:37:23 +0100 |
|---|---|---|
| committer | Zlatan Vasović <[email protected]> | 2014-03-07 17:37:23 +0100 |
| commit | d08bbdc6ec50baca9e34d2aa6e8bcfc8d6135217 (patch) | |
| tree | e19db771ecae7f3323c6bddc7fc2135609be8764 /docs/assets/js/src/ie8-responsive-file-warning.js | |
| parent | 6f9e3f0d23071dad82f0acf942b01d2d79455a6d (diff) | |
| download | bootstrap-d08bbdc6ec50baca9e34d2aa6e8bcfc8d6135217.tar.xz bootstrap-d08bbdc6ec50baca9e34d2aa6e8bcfc8d6135217.zip | |
Reorganize docs assets
Diffstat (limited to 'docs/assets/js/src/ie8-responsive-file-warning.js')
| -rw-r--r-- | docs/assets/js/src/ie8-responsive-file-warning.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/assets/js/src/ie8-responsive-file-warning.js b/docs/assets/js/src/ie8-responsive-file-warning.js new file mode 100644 index 000000000..986e8b657 --- /dev/null +++ b/docs/assets/js/src/ie8-responsive-file-warning.js @@ -0,0 +1,13 @@ +// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT +// IT'S JUST JUNK FOR OUR DOCS! +// ++++++++++++++++++++++++++++++++++++++++++ +/*! + * Copyright 2011-2014 Twitter, Inc. + * + * Licensed under the Creative Commons Attribution 3.0 Unported License. For + * details, see http://creativecommons.org/licenses/by/3.0/. + */ +// Intended to prevent false-positive bug reports about responsive styling supposedly not working in IE8. +if (window.location.protocol == 'file:') { + alert('ERROR: Bootstrap\'s responsive CSS is disabled!\nSee getbootstrap.com/getting-started/#respond-file-proto for details.') +} |
