]> _ Git - fluidbook-html5.git/commitdiff
wait #7220
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 5 Dec 2024 15:50:26 +0000 (16:50 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 5 Dec 2024 15:50:26 +0000 (16:50 +0100)
js/libs/fluidbook/fluidbook.menu.js

index 4065ee98f3a1b939971c882198d0e6e08078f817..98072ab306d370be57cdfa350c7c43e30f282d5f 100644 (file)
@@ -19,7 +19,7 @@ FluidbookMenu.prototype = {
 
         $(document).on(this.fluidbook.input.clickEvent, "#viewOverlay", function (e) {
             // Don't close if a interactive multimedia popup is currently displayed
-            let close = $(".mview[data-menu=multimedia] .multimediaScale .multimedia:not(.notinteractive)").length === 0;
+            let close = $(".mview[data-menu=multimedia] .multimediaScale div.multimedia:not(.notinteractive) iframe").length === 0;
             return handleCloseView(e, close);
         });