mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-31 18:50:14 +02:00
script: add check on event before accessing
This commit is contained in:
@@ -2072,8 +2072,10 @@ loginModal, profileModal, profileAvatarImg, profileUserName, openItemsBtn, askTo
|
||||
|
||||
scope.openSupportDeveloperModal = function(e) {
|
||||
closeAllOverlays();
|
||||
trackEvent('ui', e.target.dataset.eventAction);
|
||||
scope.toggleModal(pledgeModal);
|
||||
if (e) {
|
||||
trackEvent('ui', e.target.dataset.eventAction);
|
||||
}
|
||||
};
|
||||
|
||||
scope.updateProfileUi = () => {
|
||||
|
Reference in New Issue
Block a user