forked from extern/easydiffusion
Remove the buggy slider hover hide, prevents text selection from working correctly
This commit is contained in:
parent
0d610c5393
commit
74e7c35885
@ -2269,14 +2269,14 @@ function createLoRAEntries() {
|
|||||||
createLoRAEntries()
|
createLoRAEntries()
|
||||||
|
|
||||||
// chrome-like spinners only on hover
|
// chrome-like spinners only on hover
|
||||||
function showSpinnerOnlyOnHover(e) {
|
// function showSpinnerOnlyOnHover(e) {
|
||||||
e.addEventListener("mouseenter", () => {
|
// e.addEventListener("mouseenter", () => {
|
||||||
e.setAttribute("type", "number")
|
// e.setAttribute("type", "number")
|
||||||
})
|
// })
|
||||||
e.addEventListener("mouseleave", () => {
|
// e.addEventListener("mouseleave", () => {
|
||||||
e.removeAttribute("type")
|
// e.removeAttribute("type")
|
||||||
})
|
// })
|
||||||
e.removeAttribute("type")
|
// e.removeAttribute("type")
|
||||||
}
|
// }
|
||||||
|
|
||||||
document.querySelectorAll("input[type=number]").forEach(showSpinnerOnlyOnHover)
|
// document.querySelectorAll("input[type=number]").forEach(showSpinnerOnlyOnHover)
|
||||||
|
Loading…
Reference in New Issue
Block a user