You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just encountered this bug when mixing an AngularJS single-page app with iframe-resizer. This is happening in findTarget(), which is being called from checkLocationHash().
The resizer code is assuming that any URI fragment represents an anchor/element within the page, which is not always true. Perhaps you could simply surround in a try/catch, or check the fragment against a regex before looking for a target element?
The text was updated successfully, but these errors were encountered:
Just encountered this bug when mixing an AngularJS single-page app with iframe-resizer. This is happening in
findTarget()
, which is being called fromcheckLocationHash()
.The resizer code is assuming that any URI fragment represents an anchor/element within the page, which is not always true. Perhaps you could simply surround in a try/catch, or check the fragment against a regex before looking for a target element?
The text was updated successfully, but these errors were encountered: