Skip to content

Commit d5407db

Browse files
committed
matches polyfill for older Opera
1 parent 79a2a87 commit d5407db

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

client/polyfill/dom.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function mutation(nodes) {
2525

2626
var methods = {
2727
// safari = webkitMatchesSelector
28-
matches: Element.prototype.matchesSelector || Element.prototype.webkitMatchesSelector || Element.prototype.mozMatchesSelector || Element.prototype.msMatchesSelector,
28+
matches: Element.prototype.matchesSelector || Element.prototype.webkitMatchesSelector || Element.prototype.mozMatchesSelector || Element.prototype.msMatchesSelector || Element.prototype.oMatchesSelector,
2929
replace: function replace() {
3030
if (this.parentNode) {
3131
this.parentNode.replaceChild(mutation(arguments), this);
@@ -74,4 +74,4 @@ for (var methodName in methods) {
7474
require('./customEvent');
7575
require('./dataset');
7676
require('./hidden');
77-
require('./requestAnimationFrame');
77+
require('./requestAnimationFrame');

0 commit comments

Comments
 (0)