aboutsummaryrefslogtreecommitdiff
path: root/examples/offcanvas
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-08-17 23:55:05 -0700
committerMark Otto <[email protected]>2013-08-17 23:55:05 -0700
commit09d80fab999c103dccbf56fc75f02d62a08a2fe4 (patch)
tree514bb80aab3156091eacaf2210637c85f5faf16a /examples/offcanvas
parent04a73ebe42b8beb9567220fe31cc11057badf40f (diff)
parent0c094efe28b34d9eba5a5690ec83c49de423ae1e (diff)
downloadbootstrap-09d80fab999c103dccbf56fc75f02d62a08a2fe4.tar.xz
bootstrap-09d80fab999c103dccbf56fc75f02d62a08a2fe4.zip
Merge pull request #9761 from wangsai/fix-eamples-respondjs
add IE's Conditional comments for respondjs and html5shiv
Diffstat (limited to 'examples/offcanvas')
-rw-r--r--examples/offcanvas/index.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/offcanvas/index.html b/examples/offcanvas/index.html
index e9c905bd2..a53741b99 100644
--- a/examples/offcanvas/index.html
+++ b/examples/offcanvas/index.html
@@ -14,6 +14,12 @@
<!-- Custom styles for this template -->
<link href="offcanvas.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -115,7 +121,6 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../assets/js/jquery.js"></script>
- <script src="../../assets/js/respond.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
<script src="offcanvas.js"></script>
</body>