Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix new Image() usage with prototype methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Oct 5, 2015
1 parent be82a25 commit fbe2bfc
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -119,7 +119,7 @@ Class.create("LogoWidget", AjxpPane, {
}
if(!this.image){
this.image = new Image();
this.image.addClassName('custom_logo_image');
$(this.image).addClassName('custom_logo_image');
this.image.src = url;
this.image.onload = function(){
this.resizeImage(configs, true);
Expand Down

0 comments on commit fbe2bfc

Please sign in to comment.