Skip to content

Commit

Permalink
old Mozilla FIX
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Oppermann committed Aug 16, 2016
1 parent d432f2c commit be528a5
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "html.sortable",
"version": "0.4.0",
"version": "0.4.1",
"repository": {
"type": "git",
"url": "https://github.com/voidberg/html5sortable.git"
Expand Down
3 changes: 3 additions & 0 deletions dist/html.sortable.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ switch (true) {
case 'matches' in window.Element.prototype:
matches = 'matches';
break;
case 'mozMatchesSelector' in window.Element.prototype:
matches = 'mozMatchesSelector';
break;
case 'msMatchesSelector' in window.Element.prototype:
matches = 'msMatchesSelector';
break;
Expand Down
2 changes: 1 addition & 1 deletion dist/html.sortable.min.js

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

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "html5sortable",
"main": "dist/html.sortable.js",
"version": "0.4.0",
"version": "0.4.1",
"license": "MIT",
"description": "Lightweight jQuery plugin to create sortable lists and grids using native HTML5 drag and drop API.",
"author": {
Expand Down
3 changes: 3 additions & 0 deletions src/html.sortable.src.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ switch (true) {
case 'matches' in window.Element.prototype:
matches = 'matches';
break;
case 'mozMatchesSelector' in window.Element.prototype:
matches = 'mozMatchesSelector';
break;
case 'msMatchesSelector' in window.Element.prototype:
matches = 'msMatchesSelector';
break;
Expand Down

0 comments on commit be528a5

Please sign in to comment.