Replace jQuery mobile detection by the library isMobile

This commit is contained in:
Frederic Guillot
2016-06-03 22:27:46 -04:00
parent dbc83a04d6
commit 3eb5ec2a85
6 changed files with 10 additions and 6 deletions

View File

@@ -42,7 +42,7 @@ Kanboard.BoardDragAndDrop.prototype.dragAndDrop = function() {
}
};
if ($.support.touch) {
if (isMobile.any) {
$(".task-board-sort-handle").css("display", "inline");
params["handle"] = ".task-board-sort-handle";
}