mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Merge pull request #574 from Tyriar/link_validation_fixes
Link validation fixes
This commit is contained in:
+1
-1
@@ -141,7 +141,7 @@ export class Linkifier {
|
||||
if (uri) {
|
||||
const linkElement = this._doLinkifyRow(rowIndex, uri, matcher.handler);
|
||||
// Fire validation callback
|
||||
if (matcher.validationCallback) {
|
||||
if (linkElement && matcher.validationCallback) {
|
||||
matcher.validationCallback(uri, isValid => {
|
||||
if (!isValid) {
|
||||
linkElement.classList.add(INVALID_LINK_CLASS);
|
||||
|
||||
+1
-1
@@ -82,7 +82,7 @@
|
||||
}
|
||||
|
||||
.terminal a.xterm-invalid-link:hover {
|
||||
cursor: default;
|
||||
cursor: text;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user