disable overflow
This commit is contained in:
parent
3762ae2771
commit
455df6e78e
2 changed files with 5 additions and 0 deletions
|
@ -7,6 +7,10 @@ body {
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
#no-overflow {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
canvas {
|
||||
margin: auto;
|
||||
display: block;
|
||||
|
|
|
@ -125,6 +125,7 @@ Canvas.prototype.render = function () {
|
|||
if (window.loc2 && loc2.get('only') == 'true') {
|
||||
this.stopNow = true;
|
||||
document.querySelector('canvas').id = 'main2';
|
||||
document.querySelector('body').id = 'no-overflow';
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue