Skip to content

Commit a06d42b

Browse files
Duplicate condition removed
Duplicate condition `if (isFunction(el.webkitMatchesSelector))` is removed.
1 parent 9358946 commit a06d42b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/draggable.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ function matchesSelector(el, selector) {
3838
return el.msMatchesSelector(selector);
3939
} else if (isFunction(el.oMatchesSelector)) {
4040
return el.oMatchesSelector(selector);
41-
} else if (isFunction(el.webkitMatchesSelector)) {
42-
return el.webkitMatchesSelector(selector);
4341
}
4442
}
4543

0 commit comments

Comments
 (0)