From: Vincent Vanwaelscappel Date: Wed, 28 Oct 2020 11:23:37 +0000 (+0100) Subject: wait #4000 @0:10 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=6d90c3950ffae0b5128a0dca4c73d439eb529168;p=fluidbook-html5.git wait #4000 @0:10 --- diff --git a/js/libs/fluidbook/fluidbook.notes.js b/js/libs/fluidbook/fluidbook.notes.js index e6c9371b..1d625c52 100644 --- a/js/libs/fluidbook/fluidbook.notes.js +++ b/js/libs/fluidbook/fluidbook.notes.js @@ -9,8 +9,9 @@ function FluidbookNotes(fluidbook) { FluidbookNotes.prototype = { init: function () { var $this = this; - $(document).on('click', '#horizontalNav_notes', function (event) { + $(document).on('click', '#horizontalNav_notes,[data-action="notes"]', function (event) { event.preventDefault() + var rect = $(this).get(0).getBoundingClientRect(); $this.fluidbook.tooltip.showFixedTooltip($("#notesHorizontalSub"), 'w', 'n', { top: rect.y + rect.height + 20,