"; document.body.appendChild (div); Window.adDeventListener ("Scroll", (Event) => { Dejar desplazarse = Window.scrolly; document.getElementById ('Scroll-to-top'). style = (Window.scrolly> 250? "Display: Block;": "Display: None;"); }); } } document.addeventListener ("DomContentLoaded", SMB.init)