fix: dont show previews on mobile

This commit is contained in:
Barış Soner Uşaklı
2021-11-05 13:20:13 -04:00
parent 9e1d8da643
commit 41e0240010

View File

@@ -175,7 +175,7 @@ define('forum/topic', [
}
function addPostsPreviewHandler() {
if (!ajaxify.data.showPostPreviewsOnHover) {
if (!ajaxify.data.showPostPreviewsOnHover || utils.isMobile()) {
return;
}
let timeoutId = 0;