Skip to content

Commit 1618252

Browse files
committed
I forgot to fucking change this
God damn it
1 parent 414ac13 commit 1618252

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

manifest.crx.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 3,
33
"name": "Ecsta",
44
"short_name": "Ecsta",
5-
"version": "1.0.0",
5+
"version": "1.0.1",
66

77
"description": "A simple new tab extension meant to stay out of your way while still making for great eye-candy.",
88

manifest.xpi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 2,
33
"name": "Ecsta",
44
"short_name": "Ecsta",
5-
"version": "1.0.0",
5+
"version": "1.0.1",
66

77
"description": "A simple new tab extension meant to stay out of your way while still making for great eye-candy.",
88

src/res/js/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ if (UNSPLASH_API_KEY) {
1313

1414
//Background Fetch Code
1515
function set(fetched) {
16-
localStorage.setItem("fetchedBgImgURL", fetched.urls.small + "");
16+
localStorage.setItem("fetchedBgImgURL", fetched.urls.regular + "");
1717
localStorage.setItem("unsplashApiCreditName", fetched.user.name + "");
1818
localStorage.setItem("unsplashApiCreditLink", fetched.links.html + "");
19-
document.getElementById("background").style.backgroundImage = `url(${fetched.urls.small})`;
19+
document.getElementById("background").style.backgroundImage = `url(${fetched.urls.regular})`;
2020
if (document.getElementById("imgCreator")) {
2121
document.getElementById("imgCreator").innerText = ("Image by " + fetched.user.name);
2222
document.getElementById("imgCreator").setAttribute("href", fetched.links.html);
2323
}
2424

2525
console.log("Using fetched image");
26-
console.log("Image URL: " + fetched.urls.small);
26+
console.log("Image URL: " + fetched.urls.regular);
2727
//Turn image background into Base64 data URI
28-
fetch(fetched.urls.small)
28+
fetch(fetched.urls.regular)
2929
.then(response => response.blob())
3030
.then(blob => new Promise((resolve, reject) => {
3131
const reader = new FileReader()

0 commit comments

Comments
 (0)