Bug fix: remove query for canvas before it exits
This commit is contained in:
parent
98d9c90324
commit
6a0513e989
@ -876,9 +876,7 @@ window.PIXI.loader
|
|||||||
.load(loopStart);
|
.load(loopStart);
|
||||||
|
|
||||||
window.addEventListener('load', function () {
|
window.addEventListener('load', function () {
|
||||||
var canvas, tweeningInputs, debugCheckbox, fpsCheckbox, nodeCheckbox, linesCheckbox;
|
var tweeningInputs, debugCheckbox, fpsCheckbox, nodeCheckbox, linesCheckbox;
|
||||||
canvas = document.getElementsByTagName('canvas')[0];
|
|
||||||
canvas.setAttribute('tabindex', 0);
|
|
||||||
tweeningInputs = document.getElementsByName('tweening');
|
tweeningInputs = document.getElementsByName('tweening');
|
||||||
debugCheckbox = document.getElementsByName('debugToggle')[0];
|
debugCheckbox = document.getElementsByName('debugToggle')[0];
|
||||||
fpsCheckbox = document.getElementsByName('fpsCounterToggle')[0];
|
fpsCheckbox = document.getElementsByName('fpsCounterToggle')[0];
|
||||||
|
Loading…
Reference in New Issue
Block a user