This commit is contained in:
Baris Usakli
2017-11-17 13:43:18 -05:00
parent bc6364f4c0
commit 4e029556df

View File

@@ -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 () {