Forum Replies Created

Viewing 1 replies (of 1 total)
  • This is definitely important!
    I don’t have the time to do it myself, but it looks easy. I found three hints how to solve it:

    jQuery(“.modal-backdrop, #myModal .close, #myModal .btn”).live(“click”, function() {
    jQuery(“#myModal iframe”).attr(“src”, jQuery(“#myModal iframe”).attr(“src”));
    });

    Or this

    <script type=”text/javascript”>jQuery(“.modal-backdrop, #myModal .close”).live(“click”, function() { jQuery(“#myModal iframe”).attr(“src”, jQuery(“#myModal iframe”).attr(“src”)); }); jQuery(“.modal-backdrop, #myModal .btn”).live(“click”, function() { jQuery(“#myModal iframe”).attr(“src”, jQuery(“#myModal iframe”).attr(“src”)); });</script>

    With B3 it is this

    $(“#myModal”).on(‘hidden.bs.modal’, function (e) {
    $(“#myModal iframe”).attr(“src”, $(“#myModal iframe”).attr(“src”));
    });

    This must be added and changed to the js code of the plugin.

Viewing 1 replies (of 1 total)