Skip to content

Commit 484fc8a

Browse files
committed
2.4.1
1 parent 2b91b78 commit 484fc8a

File tree

6 files changed

+19
-15
lines changed

6 files changed

+19
-15
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Rad because it supports IE10+ and touch devices.
88

9-
Draggabilly v2.4.0
9+
Draggabilly v2.4.1
1010

1111
## Install
1212

dist/draggabilly.pkgd.js

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Draggabilly PACKAGED v2.4.0
2+
* Draggabilly PACKAGED v2.4.1
33
* Make that shiz draggable
44
* https://draggabilly.desandro.com
55
* MIT license
@@ -473,7 +473,7 @@ return EvEmitter;
473473
}));
474474

475475
/*!
476-
* Unipointer v2.3.0
476+
* Unipointer v2.4.0
477477
* base class for doing one thing with pointer event
478478
* MIT license
479479
*/
@@ -776,7 +776,7 @@ return Unipointer;
776776
}));
777777

778778
/*!
779-
* Unidragger v2.3.0
779+
* Unidragger v2.4.0
780780
* Draggable base class
781781
* MIT license
782782
*/
@@ -866,7 +866,11 @@ proto.pointerDown = function( event, pointer ) {
866866
return;
867867
}
868868
// track start event position
869-
this.pointerDownPointer = pointer;
869+
// Safari 9 overrides pageX and pageY. These values needs to be copied. flickity#842
870+
this.pointerDownPointer = {
871+
pageX: pointer.pageX,
872+
pageY: pointer.pageY,
873+
};
870874

871875
event.preventDefault();
872876
this.pointerDownBlur();
@@ -1056,7 +1060,7 @@ return Unidragger;
10561060
}));
10571061

10581062
/*!
1059-
* Draggabilly v2.4.0
1063+
* Draggabilly v2.4.1
10601064
* Make that shiz draggable
10611065
* https://draggabilly.desandro.com
10621066
* MIT license

dist/draggabilly.pkgd.min.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

draggabilly.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Draggabilly v2.4.0
2+
* Draggabilly v2.4.1
33
* Make that shiz draggable
44
* https://draggabilly.desandro.com
55
* MIT license

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "draggabilly",
3-
"version": "2.4.0",
3+
"version": "2.4.1",
44
"description": "make that shiz draggable",
55
"main": "draggabilly.js",
66
"scripts": {

0 commit comments

Comments
 (0)