|
@ -249,13 +249,6 @@ RangeItem.prototype._repaintDragLeft = function () { |
|
|
dragLeft.className = 'drag-left'; |
|
|
dragLeft.className = 'drag-left'; |
|
|
dragLeft.dragLeftItem = this; |
|
|
dragLeft.dragLeftItem = this; |
|
|
|
|
|
|
|
|
//// TODO: this should be redundant?
|
|
|
|
|
|
//Hammer(dragLeft, {
|
|
|
|
|
|
// preventDefault: true
|
|
|
|
|
|
//}).on('drag', function () {
|
|
|
|
|
|
// //console.log('drag left')
|
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
|
|
|
|
this.dom.box.appendChild(dragLeft); |
|
|
this.dom.box.appendChild(dragLeft); |
|
|
this.dom.dragLeft = dragLeft; |
|
|
this.dom.dragLeft = dragLeft; |
|
|
} |
|
|
} |
|
@ -279,13 +272,6 @@ RangeItem.prototype._repaintDragRight = function () { |
|
|
dragRight.className = 'drag-right'; |
|
|
dragRight.className = 'drag-right'; |
|
|
dragRight.dragRightItem = this; |
|
|
dragRight.dragRightItem = this; |
|
|
|
|
|
|
|
|
//// TODO: this should be redundant?
|
|
|
|
|
|
//Hammer(dragRight, {
|
|
|
|
|
|
// preventDefault: true
|
|
|
|
|
|
//}).on('drag', function () {
|
|
|
|
|
|
// //console.log('drag right')
|
|
|
|
|
|
//});
|
|
|
|
|
|
|
|
|
|
|
|
this.dom.box.appendChild(dragRight); |
|
|
this.dom.box.appendChild(dragRight); |
|
|
this.dom.dragRight = dragRight; |
|
|
this.dom.dragRight = dragRight; |
|
|
} |
|
|
} |
|
|