Verified Commit 6c733e46 authored by Chocobozzz's avatar Chocobozzz
Browse files

We don't support IE

parent b0ce7c39
......@@ -49,12 +49,20 @@
</div>
<script type="text/javascript">
window.onerror = function () {
function displayIncompatibleBrowser () {
var elem = document.getElementById('incompatible-browser')
if (elem.className.indexOf('browser-ok') === -1) {
elem.style.display = 'block'
}
}
window.onerror = function () {
displayIncompatibleBrowser()
}
if (/MSIE|Trident/.test(window.navigator.userAgent) ) {
displayIncompatibleBrowser()
}
</script>
<my-app>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment