Skip to content
This repository has been archived by the owner on May 12, 2023. It is now read-only.

Commit

Permalink
Fixed IE error with document.body
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Gaal committed Aug 20, 2008
1 parent 0490392 commit cbc3ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion facebox.js
Expand Up @@ -53,7 +53,7 @@ var Facebox = Class.create({
</div>'
};
if (extra_set) Object.extend(this.settings, extra_set);
document.body.insert({bottom: this.settings.facebox_html});
$(document.body).insert({bottom: this.settings.facebox_html});

this.preload = [ new Image(), new Image() ];
this.preload[0].src = this.settings.close_image;
Expand Down

0 comments on commit cbc3ae1

Please sign in to comment.