]> _ Git - fluidbook-html5.git/commitdiff
wip #3832 @0:05
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 29 Jul 2020 14:56:05 +0000 (16:56 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 29 Jul 2020 14:56:05 +0000 (16:56 +0200)
js/libs/fluidbook/links/fluidbook.links.zoom.js

index 0444bcd651fc4c72db8f9cb2db4504752ddf94ca..05d5ca0e03d63ecbf8767d7d1dd40d6d94353cd5 100644 (file)
@@ -348,7 +348,7 @@ FluidbookLinksZoom.prototype = {
 
     getLink: function (url) {
         var e = url.split(':', 2);
-        if (e.length === 1 || e[0] === 'http' || e[1] === 'https') {
+        if (e.length === 1 || e[0] === 'http' || e[0] === 'https') {
             return {url: url, target: '_blank'};
         }