From 4a7e1db0386c1c830fea7fc7a3e389c2ec758db1 Mon Sep 17 00:00:00 2001 From: Aaron Opell Date: Mon, 15 Jan 2018 22:40:18 -0800 Subject: [PATCH] Fixed rainbow mode --- js/preload.js | 2 +- manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/preload.js b/js/preload.js index 6ffc32ef..57410551 100644 --- a/js/preload.js +++ b/js/preload.js @@ -15,7 +15,7 @@ function openOptionsMenu() { let rainbowInterval = undefined; let rainbowColor = 0; function colorLoop() { - document.documentElement.style.setProperty("--color-hue", rainbowColor > 359 ? 0 : rainbowColor++); + document.documentElement.style.setProperty("--color-hue", rainbowColor > 359 ? (rainbowColor = 0) : rainbowColor++); } function rainbowMode(enable) { diff --git a/manifest.json b/manifest.json index 325b1c47..1d229bc9 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": "3.0.1", + "version": "3.0.2", "icons": { "128": "imgs/icon@128.png", "64": "imgs/icon@64.png",