We don't support IE
This commit is contained in:
parent
b0ce7c39dc
commit
6c733e4617
|
@ -49,12 +49,20 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
window.onerror = function () {
|
function displayIncompatibleBrowser () {
|
||||||
var elem = document.getElementById('incompatible-browser')
|
var elem = document.getElementById('incompatible-browser')
|
||||||
if (elem.className.indexOf('browser-ok') === -1) {
|
if (elem.className.indexOf('browser-ok') === -1) {
|
||||||
elem.style.display = 'block'
|
elem.style.display = 'block'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
window.onerror = function () {
|
||||||
|
displayIncompatibleBrowser()
|
||||||
|
}
|
||||||
|
|
||||||
|
if (/MSIE|Trident/.test(window.navigator.userAgent) ) {
|
||||||
|
displayIncompatibleBrowser()
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<my-app>
|
<my-app>
|
||||||
|
|
Loading…
Reference in New Issue