Skip to content

Commit be528a5

Browse files
author
Lukas Oppermann
committed
old Mozilla FIX
1 parent d432f2c commit be528a5

6 files changed

+10
-4
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "html.sortable",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/voidberg/html5sortable.git"

dist/html.sortable.js

+3
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ switch (true) {
5959
case 'matches' in window.Element.prototype:
6060
matches = 'matches';
6161
break;
62+
case 'mozMatchesSelector' in window.Element.prototype:
63+
matches = 'mozMatchesSelector';
64+
break;
6265
case 'msMatchesSelector' in window.Element.prototype:
6366
matches = 'msMatchesSelector';
6467
break;

dist/html.sortable.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/html.sortable.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "html5sortable",
33
"main": "dist/html.sortable.js",
4-
"version": "0.4.0",
4+
"version": "0.4.1",
55
"license": "MIT",
66
"description": "Lightweight jQuery plugin to create sortable lists and grids using native HTML5 drag and drop API.",
77
"author": {

src/html.sortable.src.js

+3
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ switch (true) {
5050
case 'matches' in window.Element.prototype:
5151
matches = 'matches';
5252
break;
53+
case 'mozMatchesSelector' in window.Element.prototype:
54+
matches = 'mozMatchesSelector';
55+
break;
5356
case 'msMatchesSelector' in window.Element.prototype:
5457
matches = 'msMatchesSelector';
5558
break;

0 commit comments

Comments
 (0)