Closed
Description
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?