Skip to content

Commit

Permalink
Merge pull request #1 from sp-kilobug/sp-kilobug-patch-1
Browse files Browse the repository at this point in the history
add "forceFallback" option
  • Loading branch information
sp-kilobug committed Jun 26, 2015
2 parents 38f732c + f7324f5 commit accea44
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Sortable.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@
dropBubble: false,
dragoverBubble: false,
dataIdAttr: 'data-id',
delay: 0
delay: 0,
forceFallback: false
};


Expand Down Expand Up @@ -355,7 +356,7 @@

this._onDragStart(tapEvt, 'touch');
}
else if (!supportDraggable) {
else if (!supportDraggable || this.options.forceFallback) {
this._onDragStart(tapEvt, true);
}
else {
Expand Down

0 comments on commit accea44

Please sign in to comment.