Improve user interface for tablets

This commit is contained in:
Frédéric Guillot
2014-09-10 21:13:13 +02:00
parent bb1a9f52ca
commit 917e6cab74
6 changed files with 72 additions and 60 deletions

View File

@@ -82,6 +82,8 @@ Kanboard.Board = (function() {
{
// Drag and drop
$(".column").sortable({
delay: 300,
distance: 5,
connectWith: ".column",
placeholder: "draggable-placeholder",
stop: function(event, ui) {
@@ -273,7 +275,7 @@ Kanboard.Project = (function() {
// Initialization
$(function() {
//alert($(window).width());
if ($("#board").length) {
Kanboard.Board.Init();
}