]> _ Git - fluidbook-html5.git/commitdiff
Fix broken landing page links after Fluidbook input handler changes. Done #4803 @0.5
authorStephen Cameron <stephen@cubedesigners.com>
Tue, 19 Oct 2021 13:49:57 +0000 (15:49 +0200)
committerStephen Cameron <stephen@cubedesigners.com>
Tue, 19 Oct 2021 13:49:57 +0000 (15:49 +0200)
js/libs/fluidbook/fluidbook.landingpage.js

index bcdaef42208c3f7e72c7936fa385a11d2f6fd49b..745fadb276b2be12213bc64302286f81ce9fbbba 100644 (file)
@@ -35,7 +35,7 @@ FluidbookLandingPage.prototype = {
             // Click handler for all links inside iframe
             // We must wait for the iframe to load before we can add a listener to the document
             $('#landingPageIframe').on('load', function () {
-                $(this).contents().on(this.fluidbook.input.clickEvent, 'a', $this.handleLink);
+                $(this).contents().on($this.fluidbook.input.clickEvent, 'a', $this.handleLink);
             });
         }
     },