fix
This commit is contained in:
parent
1ac7bbe3d1
commit
7c6f460cc9
|
@ -519,7 +519,7 @@ class CCPExecutionHistory extends HTMLElement {
|
||||||
apply : (e,d)=>e.setAttribute("data-index", d.id),
|
apply : (e,d)=>e.setAttribute("data-index", d.id),
|
||||||
on_click: (ev)=>{
|
on_click: (ev)=>{
|
||||||
const id = ev.target.getAttribute("data-index")
|
const id = ev.target.getAttribute("data-index")
|
||||||
const lang = ev.target.parentElement.querySelector("select[name=language-selector]")
|
const lang = ev.target.parentElement.querySelector("select[name=language-selector]").value
|
||||||
this.generateCode(id, lang)
|
this.generateCode(id, lang)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue