You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found an issue in the replaceElemet function
if you run this function, the click function will be executed according to the accumulation of how many times we click inside the same element
this.replaceElement=function(el,element){varnodeItem=elif(typeofnodeItem==='string'){nodeItem=self.element.querySelector('[data-eid="'+el+'"]')}nodeItem.innerHTML=__buildItemCard(element)// add functionnodeItem.clickfn=element.clicknodeItem.contextfn=element.contextnodeItem.dragfn=element.dragnodeItem.dragendfn=element.dragendnodeItem.dropfn=element.drop__appendCustomProperties(nodeItem,element)__onclickHandler(nodeItem)// <== this line makes the click event appear based on how many times you replace the same element__onContextHandler(nodeItem)returnself}
when I disable the line above the click function runs normally disable this line
The text was updated successfully, but these errors were encountered:
I found an issue in the replaceElemet function
if you run this function, the click function will be executed according to the accumulation of how many times we click inside the same element
when I disable the line above the click function runs normally disable this line
The text was updated successfully, but these errors were encountered: