We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4544e55 commit 4840780Copy full SHA for 4840780
1 file changed
index.html
@@ -2077,11 +2077,10 @@
2077
function preloadLargeImage()
2078
{
2079
const link = document.getElementById("LcpLink");
2080
- const regex = /\/([^\/]+)\.[^\.]+$/;
+ const regex = /\/([^\/]+)\.[^.]+$/;
2081
const match = link.href.match(regex);
2082
- console.log(match[1])
2083
- if (match[1]) {
2084
- sDefaultPersonId = match[1];
+ if (match[ 1 ]) {
+ sDefaultPersonId = match[ 1 ];
2085
}
2086
2087
preloadLargeImage();
0 commit comments