5 lines
154 B
JavaScript
5 lines
154 B
JavaScript
|
let params = new URLSearchParams(document.location.search);
|
||
|
let classes = params.get("classes").split(",");
|
||
|
document.body.className = classes.join(" ");
|
||
|
|