aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-05-18 23:57:50 -0700
committerChris Rebert <[email protected]>2014-05-21 21:07:16 -0700
commit8a62f9e61f84af1bb6f683431fbba15969c49eca (patch)
treeff6fc14ab49d435e99344940104079bd88f8b9b0 /docs
parent082bc20bb9ff1eb26e23ea8f2144f966fac20336 (diff)
downloadbootstrap-8a62f9e61f84af1bb6f683431fbba15969c49eca.tar.xz
bootstrap-8a62f9e61f84af1bb6f683431fbba15969c49eca.zip
show proper error message when viewing Customizer in IE8
Closes #13090. [skip sauce]
Diffstat (limited to 'docs')
-rw-r--r--docs/customize.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/customize.html b/docs/customize.html
index 2c596eaa6..2e067b8f4 100644
--- a/docs/customize.html
+++ b/docs/customize.html
@@ -5,6 +5,23 @@ slug: customize
lead: Customize Bootstrap's components, Less variables, and jQuery plugins to get your very own version.
---
+<!-- less.js isn't IE8-compatible and throws an exception during initialization, so our Blob compatibility check and error messaging code never get called in that case.
+ So we use a conditional comment instead to inform folks about the lack of IE8 support.
+ The alert covers up the entire customizer UI.
+-->
+<!--[if lt IE 9]>
+ <style>
+ .bs-customizer,
+ .bs-docs-sidebar {
+ display: none;
+ }
+ </style>
+ <div class="alert alert-danger bs-customizer-alert-ie">
+ <strong>The Bootstrap Customizer does not support IE9 and below.</strong><br>
+ Please take a second to <a href="http://browsehappy.com/">upgrade to a more modern browser</a>.
+ </div>
+<![endif]-->
+
<!-- Customizer form -->
<form class="bs-customizer" role="form">
<div class="bs-docs-section" id="less-section">