From 64c92a96a3c56ffc2e8b263325e6ac85fe45ab96 Mon Sep 17 00:00:00 2001 From: gorhill Date: Thu, 16 Mar 2017 19:31:14 -0400 Subject: [PATCH] fix https://github.com/nikrolls/uBlock-Edge/issues/64 --- src/js/contentscript.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/js/contentscript.js b/src/js/contentscript.js index 7547b6e9e..5d313d6df 100644 --- a/src/js/contentscript.js +++ b/src/js/contentscript.js @@ -98,6 +98,8 @@ vAPI.matchesProp = (function() { return 'mozMatchesSelector'; } else if ( typeof docElem.webkitMatchesSelector === 'function' ) { return 'webkitMatchesSelector'; + } else if ( typeof docElem.msMatchesSelector === 'function' ) { + return 'msMatchesSelector'; } } return 'matches';