From 6d90c3950ffae0b5128a0dca4c73d439eb529168 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 28 Oct 2020 12:23:37 +0100 Subject: [PATCH] wait #4000 @0:10 --- js/libs/fluidbook/fluidbook.notes.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- 2.39.5