Firebug: remove, remove, removeEventListener!

Suggested by Webmaster on Tuesday March 24, 2009

Ever couple of months I spend an embarrassingly long time tripping on the same stupid mistake: win.addEventListener("pageshow", onPageShow, true); .. 2215 lines all twisted together... win.removeEventListener("pageshow", onPageShow, false); The removeEventListener() call fails, silently, so the event handler can be called again.

Discussion Type: Discussion on News

Number of topics: 0

Create a new topic

 
  Login or register to create a new topic.  
 

No records to display