Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Unspecified error when loading in iframe in IE #2064

Closed
@SamuelKC

Description

@SamuelKC

I use an iframe to show a preview of my application. It work great in Firefox and Chrome, but in IE it throw an "unspecified error" and the application is not loaded displaying a blank page instead.

The error is at line 2962:

$( document.activeElement || "" ).add( "input:focus, textarea:focus, select:focus" ).blur();

It seem that in IE document.activeElement throw an unspecified error instead or returning null when loading an iframe. Wrapping the line in a try catch seem to fix the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions