mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-26 18:25:29 +01:00
Improved logic for auto-scroll toggle insertion
Updating the insertion logic to prepare for future UI improvements.
This commit is contained in:
parent
a2efda41d3
commit
e02a917569
@ -13,7 +13,7 @@
|
||||
autoScrollControl.innerHTML = `<input id="auto_scroll" name="auto_scroll" type="checkbox">
|
||||
<label for="auto_scroll">Auto-scroll</label>`
|
||||
autoScrollControl.className = "auto-scroll"
|
||||
previewTools.appendChild(autoScrollControl)
|
||||
clearAllPreviewsBtn.parentNode.insertBefore(autoScrollControl, clearAllPreviewsBtn.nextSibling)
|
||||
prettifyInputs(document);
|
||||
let autoScroll = document.querySelector("#auto_scroll")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user