Created
April 30, 2021 17:58
-
-
Save max-kk/635c819322623327026d9ff70330a99f to your computer and use it in GitHub Desktop.
Change link depends on a Contest ID
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( fv.contest_id === "2" ) { | |
jQuery(".fv_lightbox").each(function(K, el) { | |
el.href = "https://boxtelontspant.nl/single-photo/" + fv_lightbox.dataset.id + "/"; | |
el.classList.remove("fv_lightbox"); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment