mirror of
https://github.com/ION606/ProcGen.git
synced 2026-05-14 22:06:56 +00:00
please kill me
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
document.addEventListener('DOMContentLoaded', (e) => {
|
||||
const htmlToAdd = localStorage.getItem('roomoutline');
|
||||
document.body.innerHTML = htmlToAdd;
|
||||
|
||||
const bc = document.querySelector('.scaledup');
|
||||
const dif = window.innerWidth - bc.children[0].getBoundingClientRect().right;
|
||||
bc.style.left = `${dif / 2}px`;
|
||||
});
|
||||
Reference in New Issue
Block a user