Skip to content
Browse files

Fixed Ext.DomHelper.append argument error on IE.

  • Loading branch information...
1 parent 9cb8305 commit 64d8e62b98281be73e1e23e695b41647d0d8add4 @isaachorton isaachorton committed Feb 9, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 assets/javascripts/main.js
View
3 assets/javascripts/main.js
@@ -82,8 +82,9 @@ Ext.ux.Carousel = Ext.extend(Ext.util.Observable, {
* @return Element
*/
createPreview: function(p,t) {
- var preview = Ext.get(Ext.DomHelper.append(this.previews, { class: 'preview' }));
+ var preview = Ext.get(Ext.DomHelper.append(this.previews, true));
preview.setStyle('backgroundImage', 'url("'+p+'")');
+ preview.addClass('preview');
Ext.DomHelper.append(preview, {
tag: 'h2',
html: t

0 comments on commit 64d8e62

Please sign in to comment.
Something went wrong with that request. Please try again.