diff --git a/dist/jquery.gridster.js b/dist/jquery.gridster.js index 3e90012eb..e0d4adb44 100644 --- a/dist/jquery.gridster.js +++ b/dist/jquery.gridster.js @@ -539,7 +539,7 @@ this.pointer_events = { start: this.nsEvent('touchstart') + ' ' + this.nsEvent('mousedown'), move: this.nsEvent('touchmove') + ' ' + this.nsEvent('mousemove'), - end: this.nsEvent('touchend') + ' ' + this.nsEvent('mouseup'), + end: this.nsEvent('touchend') + ' ' + this.nsEvent('mouseup') }; this.$container.on(this.nsEvent('selectstart'), diff --git a/dist/jquery.gridster.with-extras.js b/dist/jquery.gridster.with-extras.js index dd0e1ca9c..30af7d070 100644 --- a/dist/jquery.gridster.with-extras.js +++ b/dist/jquery.gridster.with-extras.js @@ -539,7 +539,7 @@ this.pointer_events = { start: this.nsEvent('touchstart') + ' ' + this.nsEvent('mousedown'), move: this.nsEvent('touchmove') + ' ' + this.nsEvent('mousemove'), - end: this.nsEvent('touchend') + ' ' + this.nsEvent('mouseup'), + end: this.nsEvent('touchend') + ' ' + this.nsEvent('mouseup') }; this.$container.on(this.nsEvent('selectstart'), diff --git a/src/jquery.draggable.js b/src/jquery.draggable.js index cc783fc48..e1a6d6b9c 100644 --- a/src/jquery.draggable.js +++ b/src/jquery.draggable.js @@ -44,7 +44,7 @@ var idCounter = 0; var uniqId = function() { return ++idCounter + ''; - } + }; /** * Basic drag implementation for DOM elements inside a container. @@ -110,7 +110,7 @@ this.pointer_events = { start: this.nsEvent('touchstart') + ' ' + this.nsEvent('mousedown'), move: this.nsEvent('touchmove') + ' ' + this.nsEvent('mousemove'), - end: this.nsEvent('touchend') + ' ' + this.nsEvent('mouseup'), + end: this.nsEvent('touchend') + ' ' + this.nsEvent('mouseup') }; this.$container.on(this.nsEvent('selectstart'),