Fix annoying warning

This commit is contained in:
John 2022-07-28 06:12:36 -05:00
parent ad1b26e0dc
commit c4a9e9e42d

View File

@ -68,13 +68,13 @@ WebGLUtils = function() {
var makeFailHTML = function(msg) { var makeFailHTML = function(msg) {
return '' + return '' +
'<div style="margin: auto; width:500px;z-index:10000;margin-top:20em;text-align:center;">' + msg + '</div>'; '<div style="margin: auto; width:500px;z-index:10000;margin-top:20em;text-align:center;">' + msg + '</div>';
return '' + // return '' +
'<table style="background-color: #8CE; width: 100%; height: 100%;"><tr>' + // '<table style="background-color: #8CE; width: 100%; height: 100%;"><tr>' +
'<td align="center">' + // '<td align="center">' +
'<div style="display: table-cell; vertical-align: middle;">' + // '<div style="display: table-cell; vertical-align: middle;">' +
'<div style="">' + msg + '</div>' + // '<div style="">' + msg + '</div>' +
'</div>' + // '</div>' +
'</td></tr></table>'; // '</td></tr></table>';
}; };
/** /**