From 3f0ac5223e9d3b4d36e1ba2c2b5bec785048c230 Mon Sep 17 00:00:00 2001 From: Aaron Opell Date: Fri, 8 Dec 2017 18:02:38 -0800 Subject: [PATCH] Fixed keycode check --- js/all.js | 2 +- manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/all.js b/js/all.js index 15a5adce..2e170483 100644 --- a/js/all.js +++ b/js/all.js @@ -12,7 +12,7 @@ video.onended = () => { }; document.body.appendChild(video); document.body.onkeydown = (data) => { - if (data.altKey && data.key === 'c') { + if (data.altKey && data.code === "KeyC") { video.style.visibility = "visible"; video.currentTime = 0; video.play(); diff --git a/manifest.json b/manifest.json index 175ff647..81940b81 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "Schoology Plus", "description": "Provides some enhancements to your LAUSD Schoology experience", - "version": "1.2", + "version": "1.2.2", "icons": { "128": "imgs/icon@128.png", "64": "imgs/icon@64.png",