bootstrap/docs/assets/js/ie8-responsive-file-warning.js

14 lines
599 B
JavaScript
Raw Permalink Normal View History

// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT
// IT'S JUST JUNK FOR OUR DOCS!
// ++++++++++++++++++++++++++++++++++++++++++
/*!
2019-02-10 20:01:42 +08:00
* Copyright 2011-2019 Twitter, Inc.
*
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
2015-05-17 17:43:04 +08:00
* details, see https://creativecommons.org/licenses/by/3.0/.
*/
// Intended to prevent false-positive bug reports about responsive styling supposedly not working in IE8.
2014-03-08 00:37:23 +08:00
if (window.location.protocol == 'file:') {
2014-03-17 15:12:55 +08:00
window.alert('ERROR: Bootstrap\'s responsive CSS is disabled!\nSee getbootstrap.com/getting-started/#respond-file-proto for details.')
2014-03-08 00:37:23 +08:00
}