Skip to content
This repository was archived by the owner on Mar 25, 2026. It is now read-only.
This repository was archived by the owner on Mar 25, 2026. It is now read-only.

Review/revise Modaal load process  #35

@cbotman

Description

@cbotman

See ticket #33 for some background. In short, this JS Fiddle example (https://jsfiddle.net/mouvcbgq/) fails in part because Modaal is being loaded in a body onload event, and internally Modaal calls $.fn.modaal in its onload event before $.fn.modaal is declared (due to the order in the source code).

As such, it'd be good to review/revise any onload related events in Modaal so that the library can be included at any stage after jQuery is loaded, and it'll just work. For one thing, this will make JSFiddle examples easier as most people won't know to change the JavaScript On Load setting in JSFiddle (and shouldn't be expected to).

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions