Skip to content

Commit

Permalink
0.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann committed Apr 25, 2018
1 parent b123d0c commit e88011a
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dist/html5sortable.amd.js
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ function setDragImage (event, draggedElement, customDragImage) {
// needs to be set for HTML5 drag & drop to work
event.dataTransfer.effectAllowed = 'copyMove';
// Firefox requires arbitrary content in setData for the drag & drop functionality to work
event.dataTransfer.setData('text', 'arbitrary-content');
event.dataTransfer.setData('text/plain', 'arbitrary');
// set the drag image on the event
event.dataTransfer.setDragImage(dragImage.element, dragImage.posX, dragImage.posY);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/html5sortable.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ function setDragImage (event, draggedElement, customDragImage) {
// needs to be set for HTML5 drag & drop to work
event.dataTransfer.effectAllowed = 'copyMove';
// Firefox requires arbitrary content in setData for the drag & drop functionality to work
event.dataTransfer.setData('text', 'arbitrary-content');
event.dataTransfer.setData('text/plain', 'arbitrary');
// set the drag image on the event
event.dataTransfer.setDragImage(dragImage.element, dragImage.posX, dragImage.posY);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/html5sortable.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ function setDragImage (event, draggedElement, customDragImage) {
// needs to be set for HTML5 drag & drop to work
event.dataTransfer.effectAllowed = 'copyMove';
// Firefox requires arbitrary content in setData for the drag & drop functionality to work
event.dataTransfer.setData('text', 'arbitrary-content');
event.dataTransfer.setData('text/plain', 'arbitrary');
// set the drag image on the event
event.dataTransfer.setDragImage(dragImage.element, dragImage.posX, dragImage.posY);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/html5sortable.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ function setDragImage (event, draggedElement, customDragImage) {
// needs to be set for HTML5 drag & drop to work
event.dataTransfer.effectAllowed = 'copyMove';
// Firefox requires arbitrary content in setData for the drag & drop functionality to work
event.dataTransfer.setData('text', 'arbitrary-content');
event.dataTransfer.setData('text/plain', 'arbitrary');
// set the drag image on the event
event.dataTransfer.setDragImage(dragImage.element, dragImage.posX, dragImage.posY);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/html5sortable.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/html5sortable.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/html5sortable.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ function setDragImage (event, draggedElement, customDragImage) {
// needs to be set for HTML5 drag & drop to work
event.dataTransfer.effectAllowed = 'copyMove';
// Firefox requires arbitrary content in setData for the drag & drop functionality to work
event.dataTransfer.setData('text', 'arbitrary-content');
event.dataTransfer.setData('text/plain', 'arbitrary');
// set the drag image on the event
event.dataTransfer.setDragImage(dragImage.element, dragImage.posX, dragImage.posY);
}
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"main": "dist/html5sortable.js",
"file": "src/html5sortable.ts",
"dest": "dist",
"version": "0.9.1",
"version": "0.9.2",
"license": "MIT",
"description": "VanillaJS sortable lists and grids using native HTML5 drag and drop API.",
"author": {
Expand Down

0 comments on commit e88011a

Please sign in to comment.