Browse Source

Fix PDF in FireFox

pull/243/head
Jānis Skarnelis 3 years ago
parent
commit
91d5eb60e0
  1. 4
      src/Fancybox/plugins/Html/Html.js

4
src/Fancybox/plugins/Html/Html.js

@ -539,10 +539,12 @@ export class Html {
this.loadAjaxContent(slide);
break;
case "iframe":
case "pdf":
case "video":
case "map":
slide.preload = false;
case "iframe":
this.loadIframeContent(slide);
break;

Loading…
Cancel
Save