Bug #3621
closed
This code only executes on window.onresize. This is fine in other browsers, because it only triggers this exactly in that situation. However, IE appears to fire it on first page load even though window wasn't resized. The error happens because the JS that setups the HTML and has the ID it's trying to reach hasn't fired yet resulting in an error.
Further investigation shows that IE fires this when elements on page also resize. For example if "body" resizes it'll fire window.onresize.
- File 3621.patch 3621.patch added
- Status changed from Assigned to Resolved
- Assignee changed from krileon to beat
- % Done changed from 0 to 100
Patch ensures the event is only bound after the page loads. Using alerts confirmed it still fires as normally after load.
- Priority changed from Normal to High
- Status changed from Resolved to Closed
- Estimated time set to 2:00 h
Fixed as suggested in r1877 .
Thank you Kyle.
Also available in: Atom
PDF