diff --git a/js/interface_common.js b/js/interface_common.js index 7c19fb7..72ec8da 100644 --- a/js/interface_common.js +++ b/js/interface_common.js @@ -220,8 +220,10 @@ function updateHashtagModal(postboard,hashtag,timeoutArgs) { function openMentionsModal(e) { - e.stopPropagation(); - e.preventDefault(); + if (e && e.stopPropagation) { + e.stopPropagation(); + e.preventDefault(); + } if(!defaultScreenName) {