fix muteEvent()'s default behaviour preventing

This commit is contained in:
Simon Grim 2016-02-22 16:03:09 +05:00
parent 8533e8c6e7
commit f656997fa4

View File

@ -1043,7 +1043,7 @@ function closeThis() {
function muteEvent(event, preventDefault) { function muteEvent(event, preventDefault) {
event.stopPropagation(); event.stopPropagation();
if (preventDefault || (event.data && event.data.preventDefault)) if (preventDefault || (event.data && event.data.preventDefault))
event.data.preventDefault(); event.preventDefault();
} }
function toggleFollowButton(req) { function toggleFollowButton(req) {