From 4e029556dfcb764686a0f2ecff9259ef49ded12f Mon Sep 17 00:00:00 2001 From: Baris Usakli Date: Fri, 17 Nov 2017 13:43:18 -0500 Subject: [PATCH] closes #6081 --- public/src/client/category/tools.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/src/client/category/tools.js b/public/src/client/category/tools.js index 0f0dc7b77d..3f211400c4 100644 --- a/public/src/client/category/tools.js +++ b/public/src/client/category/tools.js @@ -239,7 +239,8 @@ define('forum/category/tools', [ } function handlePinnedTopicSort() { - if (!ajaxify.data.privileges.isAdminOrMod) { + var env = utils.findBootstrapEnvironment(); + if (!ajaxify.data.privileges.isAdminOrMod || env === 'xs' || env === 'sm') { return; } app.loadJQueryUI(function () {