mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
fix: dont show previews on mobile
This commit is contained in:
@@ -175,7 +175,7 @@ define('forum/topic', [
|
|||||||
}
|
}
|
||||||
|
|
||||||
function addPostsPreviewHandler() {
|
function addPostsPreviewHandler() {
|
||||||
if (!ajaxify.data.showPostPreviewsOnHover) {
|
if (!ajaxify.data.showPostPreviewsOnHover || utils.isMobile()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let timeoutId = 0;
|
let timeoutId = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user