Skip to content

Commit e30bbf3

Browse files
authored
Merge 487ac9c into 7461e48
2 parents 7461e48 + 487ac9c commit e30bbf3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/helpers/links.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ const domHref = function(node, relativePath) {
5555
if (!ref) {
5656
return ref
5757
}
58+
if (!OCA.Viewer) {
59+
return ref
60+
}
5861
if (ref.match(/^[a-zA-Z]*:/)) {
5962
return ref
6063
}

0 commit comments

Comments
 (0)