12 lines
257 B
JavaScript
12 lines
257 B
JavaScript
(function() {
|
|
const params = new URLSearchParams(window.location.search)
|
|
|
|
if (!params.has('embed')) {
|
|
return
|
|
}
|
|
|
|
window.addEventListener('DOMContentLoaded', () => {
|
|
window.document.querySelector('body').classList.add('is-embeded')
|
|
})
|
|
})();
|