mirror of
https://github.com/gtbu/Typesetter-5.3-p8.git
synced 2024-11-21 21:59:12 +01:00
hide js code
Sourcecode of line 471 to 479 was always shown at bottom
This commit is contained in:
parent
e06871028f
commit
b9d07928ef
1 changed files with 2 additions and 2 deletions
|
@ -468,7 +468,7 @@ function GetMessages($wrap=true){
|
|||
$result .= '</div>';
|
||||
$result .= '</div>';
|
||||
|
||||
$result .= '<script type="text/javascript">';
|
||||
$result .= '<div style="display:none;"><script type="text/javascript">';
|
||||
$result .= '(function(){';
|
||||
$result .= 'setTimeout(function(){';
|
||||
$result .= 'var elem=document.querySelectorAll(".messages>div")[0];';
|
||||
|
@ -476,7 +476,7 @@ function GetMessages($wrap=true){
|
|||
$result .= 'elem.style.maxHeight="calc(100vh - 40px)";';
|
||||
$result .= '},150);';
|
||||
$result .= '})();';
|
||||
$result .= '</script>';
|
||||
$result .= '</script></div>';
|
||||
}
|
||||
|
||||
return $result .= \gp\tool::ErrorBuffer() . $wrap_end;
|
||||
|
|
Loading…
Reference in a new issue