Skip to content

Commit

Permalink
deploy: 538ec75
Browse files Browse the repository at this point in the history
  • Loading branch information
avindra committed Mar 6, 2024
1 parent e88c4a4 commit 68c0f32
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion ggpht.com/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,12 @@ const S = /s\d+-([cp])/;
// default size to 4096px
if (!location.href.includes("4096")) {
const dest = location.href.replace(S, "s4096-$1");
location.href = dest;
if (dest !== location.href) {
location.href = dest;
}

const dest2 = location.href.replace(/w\d+-h\d+/, "w4096");
if (dest2 !== location.href) {
location.href = dest2;
}
}
2 changes: 1 addition & 1 deletion npmjs.com/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const repos = document.getElementById("repository");

const list = document.createElement("u");
const list = document.createElement("ul");

const listItem = (text, href) => {
const li = document.createElement("li");
Expand Down

0 comments on commit 68c0f32

Please sign in to comment.