Remove the unreproducible IE7 CSS workaround

This commit is contained in:
~lucidiot 2022-10-31 21:25:09 +01:00
parent 65f0ad49c8
commit 0c500bd8e2
1 changed files with 0 additions and 12 deletions

View File

@ -198,18 +198,6 @@ window.onload = function () {
runButton.onclick = run;
clearButton.onclick = console.clear;
if (/MSIE 7.0/.test(navigator.userAgent)) {
/*
* For some reason, IE 7 messes up the textarea's width and height
* pretty badly. We hardcode the height, removing a little margin,
* and add some margin to the output.
* Setting the input's width causes it to somehow divide itself by 2
* on every keystroke.
*/
input.style.height = document.documentElement.clientHeight - 7 + 'px';
output.style.marginLeft = '7px';
}
if (!supportsVB()) {
for (var i = 0; i < languageSelect.children.length; i++) {
if (languageSelect.children[i].value.slice(0, 3) === 'vbs') {