master #6

Merged
m.lettere merged 20 commits from master into prod 2023-12-12 15:21:59 +01:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 801e349e80 - Show all commits

View File

@ -549,11 +549,11 @@ class CCPRemoteFileInputWidgetController extends CCPBaseInputWidgetController{
`
const ws = this.rootdoc.querySelector("div[name=ws]")
this.rootdoc.querySelector("svg[name=trigger]").addEventListener("click", ev=>{
ws.parentElement.classList.toggle("d-none")
ws.classList.toggle("d-none")
})
this.rootdoc.querySelector("span[name=closebtn]").addEventListener("click", ev=>{
ws.parentElement.classList.add("d-none")
ws.classList.add("d-none")
})
this.addEventListener("dragover", ev=>{
@ -570,7 +570,7 @@ class CCPRemoteFileInputWidgetController extends CCPBaseInputWidgetController{
})
document.addEventListener("keydown", ev=>{
if(ev.code == 'Escape' ) ws.parentElement.classList.add("d-none");
if(ev.code == 'Escape' ) ws.classList.add("d-none");
})
}