]> _ Git - fluidbook-html5.git/commitdiff
wait #4000 @0:10
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 28 Oct 2020 11:23:37 +0000 (12:23 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 28 Oct 2020 11:23:37 +0000 (12:23 +0100)
js/libs/fluidbook/fluidbook.notes.js

index e6c9371b689ac61a6282dca5071fe93a4fbda6c5..1d625c529e8e8db5ef17856d23fe3356f495a30e 100644 (file)
@@ -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,