From 6a0513e98900155e5ec6e184b33ec76c26eb1e6c Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Fri, 30 Mar 2018 23:38:18 -0400 Subject: [PATCH] Bug fix: remove query for canvas before it exits --- js/proximity.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/proximity.js b/js/proximity.js index b13a244..c2216eb 100644 --- a/js/proximity.js +++ b/js/proximity.js @@ -876,9 +876,7 @@ window.PIXI.loader .load(loopStart); window.addEventListener('load', function () { - var canvas, tweeningInputs, debugCheckbox, fpsCheckbox, nodeCheckbox, linesCheckbox; - canvas = document.getElementsByTagName('canvas')[0]; - canvas.setAttribute('tabindex', 0); + var tweeningInputs, debugCheckbox, fpsCheckbox, nodeCheckbox, linesCheckbox; tweeningInputs = document.getElementsByName('tweening'); debugCheckbox = document.getElementsByName('debugToggle')[0]; fpsCheckbox = document.getElementsByName('fpsCounterToggle')[0];