From 246b42b63ac4803ad48ac81df52c674e98206c0e Mon Sep 17 00:00:00 2001 From: Arjun Satarkar Date: Thu, 31 Oct 2024 10:53:55 -0400 Subject: Don't hardcode background colour, use inherit --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/index.js') diff --git a/src/index.js b/src/index.js index ab8e047..21d2af9 100644 --- a/src/index.js +++ b/src/index.js @@ -24,7 +24,7 @@ const objElement = document.querySelector("#throwable"); const queryParams = new URLSearchParams(window.location.search); const image = queryParams.get("image"); if (image !== null) { - objElement.style.backgroundColor = "white"; + objElement.style.backgroundColor = "inherit"; objElement.style.backgroundImage = `url(${decodeURI(image)})`; } -- cgit v1.2.3-57-g22cb