Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #10308 (closed defect: duplicate)

Opened 2 years ago

Last modified 1 year ago

dom:loaded doesn't fire in Opera < 9

Reported by: mensler Assigned to: sam
Priority: normal Milestone: 2.x
Component: Prototype Version: edge
Severity: normal Keywords:
Cc:

Description

DOMContentLoaded is not supported in Opera < 9. This can be fixed by changing line 3974 in prototype.js 1.6.0:

if (Prototype.Browser.WebKit) {

to the following:

if (Prototype.Browser.WebKit || (Prototype.Browser.Opera && parseInt(window.opera.version()) < 9)) {

Change History

03/31/08 04:15:33 changed by jdalton

  • status changed from new to closed.
  • resolution set to duplicate.

problem addressed by ticket: http://dev.rubyonrails.org/ticket/10532