A bit of an overhaul
- Built in the MCW - Updated some links to direct to awexxx.xyz - Changed around the CSS
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
function checkparam() {
|
||||
const params = new URLSearchParams(window.location.search)
|
||||
// console.log(params) Only uncomment this for testing purposes.
|
||||
|
||||
if (params.get('type') === 'pt') {
|
||||
const pt = document.getElementById("pt");
|
||||
pt.style.display = "block";
|
||||
const embed = document.getElementById("embed");
|
||||
embed.style.display = "none";
|
||||
}
|
||||
|
||||
if (params.get('status') === 'success') {
|
||||
const pt = document.getElementById("pt");
|
||||
pt.style.display = "none";
|
||||
const embed = document.getElementById("embed");
|
||||
embed.style.display = "none";
|
||||
const success = document.getElementById("success");
|
||||
success.style.display = "block";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user