remove deprecation warning for IE11 (#925)
This commit is contained in:
parent
d2d3c100d5
commit
f1fc0a303b
2 changed files with 0 additions and 29 deletions
|
@ -19,7 +19,6 @@
|
|||
|
||||
<script src="{{rootURL}}assets/vendor.js"></script>
|
||||
<script src="{{rootURL}}assets/croodle.js"></script>
|
||||
<script src="{{rootURL}}assets/internet-explorer-11-deprecation.js" nomodule></script>
|
||||
|
||||
{{content-for "body-footer"}}
|
||||
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
var outerContainer = document.createElement('div');
|
||||
outerContainer.style.display = 'flex';
|
||||
outerContainer.style.height = '100vh';
|
||||
|
||||
var container = document.createElement('div');
|
||||
container.style.alignSelf = 'center';
|
||||
container.style.margin = 'auto';
|
||||
container.style.maxWidth = '50rem';
|
||||
container.style.textAlign = 'center';
|
||||
outerContainer.appendChild(container);
|
||||
|
||||
var header = document.createElement('h2');
|
||||
header.style.color = '#B33A3A';
|
||||
|
||||
var icon = document.createElement('span');
|
||||
icon.className = 'oi oi-warning';
|
||||
header.appendChild(icon);
|
||||
header.appendChild(document.createTextNode('Your Browser is not supported!'));
|
||||
header.appendChild(icon.cloneNode());
|
||||
container.appendChild(header);
|
||||
|
||||
var text = document.createElement('p');
|
||||
text.innerText =
|
||||
'You are using an out-dated browser like Internet Explorer 11 that is not supported anymore by Croodle. ' +
|
||||
'Please switch to a modern browser like Firefox, Google Chrome, Microsoft Edge or Safari.';
|
||||
container.appendChild(text);
|
||||
|
||||
document.body.appendChild(outerContainer);
|
Loading…
Reference in a new issue