Pass event object to data-on-click events

pull/2928/head
Isaac Connor 2020-04-29 16:32:55 -04:00
parent 89245e0d46
commit e29c426f04
1 changed files with 2 additions and 2 deletions

View File

@ -182,8 +182,8 @@ window.addEventListener("DOMContentLoaded", function onSkinDCL() {
return;
}
el.onclick = function() {
window[fnName]();
el.onclick = function(ev) {
window[fnName](ev);
};
});