]> git.proxmox.com Git - mirror_xterm.js.git/blobdiff - src/xterm.js
Use jsdom instead of phantomjs for linkifier test
[mirror_xterm.js.git] / src / xterm.js
index 4d5f020556a1f4608979aaad463910c6a6696284..9e68f47c7397551db16d52a642bbde1c09cfe3c1 100644 (file)
@@ -612,7 +612,7 @@ Terminal.prototype.open = function(parent) {
   this.rowContainer.classList.add('xterm-rows');
   this.element.appendChild(this.rowContainer);
   this.children = [];
-  this.linkifier = new Linkifier(this.children);
+  this.linkifier = new Linkifier(document, this.children);
 
   // Create the container that will hold helpers like the textarea for
   // capturing DOM Events. Then produce the helpers.