Commit 58824029 authored by Robert Knight's avatar Robert Knight

Remove unnecessary document.evaluate check

This check is already performed in scripts/polyfills.js
parent 5848addf
......@@ -5,7 +5,7 @@ var Annotator = require('annotator');
// Polyfills
var g = Annotator.Util.getGlobal();
if (g.wgxpath && !g.document.evaluate) {
if (g.wgxpath) {
g.wgxpath.install();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment