Skip to content

iframe content will reload #226

Open
@huacat

Description

@huacat

If the dialog content include iframe tag, when switch to another one, the target dialog content will reload.

alertify.dialog('demo',function(){
    return {
        main:function(content){
            this.setContent(content);
            this.resizeTo(400,500);
        },
        setup:function(){
            return {options:{modal:false,resizable:true,padding:false}};
        }
    };
},true,'alert');
alertify.demo('<iframe src="https://time.is" style="width:98%;height:98%;"></iframe>').moveTo(10,10);

alertify.demo('<iframe src="https://time.is" style="width:98%;height:98%;"></iframe>').moveTo(450,10);

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions