Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Unspecified error when loading in iframe in IE #2064
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.