Fix annoying warning
This commit is contained in:
parent
ad1b26e0dc
commit
c4a9e9e42d
@ -68,13 +68,13 @@ WebGLUtils = function() {
|
||||
var makeFailHTML = function(msg) {
|
||||
return '' +
|
||||
'<div style="margin: auto; width:500px;z-index:10000;margin-top:20em;text-align:center;">' + msg + '</div>';
|
||||
return '' +
|
||||
'<table style="background-color: #8CE; width: 100%; height: 100%;"><tr>' +
|
||||
'<td align="center">' +
|
||||
'<div style="display: table-cell; vertical-align: middle;">' +
|
||||
'<div style="">' + msg + '</div>' +
|
||||
'</div>' +
|
||||
'</td></tr></table>';
|
||||
// return '' +
|
||||
// '<table style="background-color: #8CE; width: 100%; height: 100%;"><tr>' +
|
||||
// '<td align="center">' +
|
||||
// '<div style="display: table-cell; vertical-align: middle;">' +
|
||||
// '<div style="">' + msg + '</div>' +
|
||||
// '</div>' +
|
||||
// '</td></tr></table>';
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user