Skip to content

Commit d1bf459

Browse files
committed
add no support detection to docs
#63
1 parent 0f0dba5 commit d1bf459

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

docs/assets/js/vendor/modernizr-flexbox.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,19 @@
1212
<script src="assets/js/templates.js"></script>
1313
</head>
1414
<body ba-esc-close ba-close-all>
15+
<!-- No Support Detection -->
16+
<div ba-no-support>
17+
<div>
18+
<p>
19+
We're sorry, your browser does not support all required functionality needed to run our app.
20+
Please switch to a different device or browser and try again.
21+
You can update your browser <a href="http://www.browsehappy.com">here</a>.
22+
</p>
23+
<p>
24+
If you're using Internet Explorer, try turning off Compatibility View if it's enabled.
25+
</p>
26+
</div>
27+
</div>
1528

1629
<!-- Right Off Canvas -->
1730
<ba-offcanvas id="example-canvas-top" position="top">

0 commit comments

Comments
 (0)