]> _ Git - fluidbook-html5.git/commitdiff
wip #4927 @0:10
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 29 Nov 2021 16:04:41 +0000 (17:04 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 29 Nov 2021 16:04:41 +0000 (17:04 +0100)
js/libs/fluidbook/fluidbook.links.js

index d0b5c3141f97c479976915cf5d52031073de0bb3..7c73112ab106ae5ae37998736f30eeef467c4ec2 100644 (file)
@@ -272,7 +272,11 @@ FluidbookLinks.prototype = {
         $(document).on(this.fluidbook.input.clickEvent, 'a.triggerlink[data-trigger-event="click"]', function () {
             var ids = $(this).data('trigger-id').split(',');
             $.each(ids, function (k, id) {
-                $this.triggerLinkById(id);
+                try {
+                    $this.triggerLinkById(id);
+                } catch (e) {
+
+                }
             });
             return false;
         });