]> git.proxmox.com Git - mirror_xterm.js.git/commitdiff
Revert priority change, http handler needs to be top
authorDaniel Imms <daimms@microsoft.com>
Fri, 17 Feb 2017 18:18:37 +0000 (10:18 -0800)
committerDaniel Imms <daimms@microsoft.com>
Fri, 17 Feb 2017 18:18:46 +0000 (10:18 -0800)
src/Linkifier.ts

index 74c03adc46e1cfb86f721eafd674418c69ac27b7..6bc1d86f9c8e91dc6b401ab83ddfe92112756ec4 100644 (file)
@@ -123,7 +123,7 @@ export class Linkifier {
       return;
     }
     const text = row.textContent;
-    for (let i = this._linkMatchers.length - 1; i >= 0; i--) {
+    for (let i = 0; i < this._linkMatchers.length; i--) {
       const matcher = this._linkMatchers[i];
       const uri = this._findLinkMatch(text, matcher.regex, matcher.matchIndex);
       if (uri) {