]> _ Git - fluidbook-html5.git/commitdiff
done #1763 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 23 Oct 2017 13:59:46 +0000 (15:59 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 23 Oct 2017 13:59:46 +0000 (15:59 +0200)
js/libs/fluidbook/fluidbook.links.js

index fc23efa2f65d7dceb0575d93bfdb34a1c7af43bb..802bed4f3cb366f609867c0e1369b8c9ea770c6e 100644 (file)
@@ -52,6 +52,11 @@ FluidbookLinks.prototype = {
             return false;
         });
 
+        $(document).on('click', 'a[target="_unique"]', function () {
+            window.open($(this).attr('href'), 'fb_' + $this.fluidbook.datas.id, "resizable=1,scrollbars=1", true);
+            return false;
+        });
+
     },
     initLinks: function (pageNr) {
         if (pageNr == undefined) {