From 48cc41e729caf5e0f11afbf6ceaf5d004b3ee113 Mon Sep 17 00:00:00 2001 From: s1n Date: Sun, 10 Nov 2019 21:37:12 -0800 Subject: remove something thats useless --- links/js/main.js | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/links/js/main.js b/links/js/main.js index c57ee6d..49ec780 100644 --- a/links/js/main.js +++ b/links/js/main.js @@ -9,18 +9,4 @@ $(window).on('keydown', function () { return false; else if (event.ctrlKey && event.keyCode == 74) return false; -}); - -document.body.onkeyup = function (e) { - if (e.keyCode == 32 && app.skippedIntro) { - if (app.backgroundToggler) { - app.videoElement.play(); - app.audioElement.play(); - } else { - app.videoElement.pause(); - app.audioElement.pause(); - } - - return app.backgroundToggler = !app.backgroundToggler; - } -} \ No newline at end of file +}); \ No newline at end of file -- cgit v1.2.3