]> _ Git - fluidbook-toolbox.git/commitdiff
wait #5745 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 21 Feb 2023 11:34:47 +0000 (12:34 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 21 Feb 2023 11:34:47 +0000 (12:34 +0100)
resources/linkeditor/js/linkeditor.js

index bf5de031c466c774e88f5fab9b7a3920176e1acd..e7dd9d5a82de7263e407f77bd5c3a243ca3ac983 100644 (file)
@@ -437,6 +437,10 @@ LinkEditor.prototype = {
         }
     },
 
+    openFluidbook: function () {
+        window.open('/fluidbook-publication/preview/' + FLUIDBOOK_DATA.id + '_' + FLUIDBOOK_DATA.hash + '/#/page/' + this.currentPage);
+    },
+
 // Convert global coordinates to fluidbook ones
     globalToFluidbook: function (x, y, onePage) {
         let res = this._globalTo(x, y, this.fluidbookRect, 1 / (this.fs * this.zoom.zoom));