This project is archived and is in readonly mode.

#1002 ✓resolved
digitarald

window 'load' event is fired automatically when added after domready, even if window isn't loaded

Reported by digitarald | September 14th, 2010 @ 03:14 PM | in 1.3.0 rc2 (closed)

When 'load' event is added between domready and the actual 'load' event, 'load' is fired 2 times, one right away and one more time for the actual 'load' success.

Source: domready and load share the same onAdd, checking for domready to fire added events right away. 'load' would require its own check.

How to reproduce: Add a 'load' event in domready. Showcase using related image material: http://jsfiddle.net/DGBue/2/ . Mind the repeated load alert and repeated LOAD in the image.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

Referenced by

Pages