updated diet

This commit is contained in:
vieron
2013-06-13 12:14:21 +02:00
parent b4ac8dc0bd
commit 23482b58cd
4 changed files with 22 additions and 14 deletions

View File

@@ -426,12 +426,12 @@
this.disabled = false;
this.events();
$(window).bind('resize.gridster-draggable',
$(window).bind('resize.gridster-draggable',
throttle($.proxy(this.calculate_positions, this), 200));
};
fn.events = function() {
this.$container.on('selectstart.gridster-draggable',
this.$container.on('selectstart.gridster-draggable',
$.proxy(this.on_select_start, this));
this.$container.on(pointer_events.start, this.options.items,
@@ -576,7 +576,7 @@
return false;
});
return false;
if (!isTouch) { return false; }
};
@@ -2089,7 +2089,9 @@
return true; //break
}
upper_rows[tcol].sort();
upper_rows[tcol].sort(function(a, b) {
return a - b;
});
});
if (!result) { return false; }
@@ -2144,7 +2146,9 @@
return true; //break
}
upper_rows[tcol].sort();
upper_rows[tcol].sort(function(a, b) {
return a - b;
});
});
if (!result) { return false; }

File diff suppressed because one or more lines are too long

View File

@@ -426,12 +426,12 @@
this.disabled = false;
this.events();
$(window).bind('resize.gridster-draggable',
$(window).bind('resize.gridster-draggable',
throttle($.proxy(this.calculate_positions, this), 200));
};
fn.events = function() {
this.$container.on('selectstart.gridster-draggable',
this.$container.on('selectstart.gridster-draggable',
$.proxy(this.on_select_start, this));
this.$container.on(pointer_events.start, this.options.items,
@@ -576,7 +576,7 @@
return false;
});
return false;
if (!isTouch) { return false; }
};
@@ -2089,7 +2089,9 @@
return true; //break
}
upper_rows[tcol].sort();
upper_rows[tcol].sort(function(a, b) {
return a - b;
});
});
if (!result) { return false; }
@@ -2144,7 +2146,9 @@
return true; //break
}
upper_rows[tcol].sort();
upper_rows[tcol].sort(function(a, b) {
return a - b;
});
});
if (!result) { return false; }

File diff suppressed because one or more lines are too long