Pass event object to data-on-click events
parent
89245e0d46
commit
e29c426f04
|
@ -182,8 +182,8 @@ window.addEventListener("DOMContentLoaded", function onSkinDCL() {
|
|||
return;
|
||||
}
|
||||
|
||||
el.onclick = function() {
|
||||
window[fnName]();
|
||||
el.onclick = function(ev) {
|
||||
window[fnName](ev);
|
||||
};
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue