Ticket #26646: appearance-theme.patch
File appearance-theme.patch, 1008 bytes (added by , 10 years ago) |
---|
-
js/theme.js
52 52 // Render and append 53 53 this.view.render(); 54 54 this.$el.empty().append( this.view.el ).addClass('rendered'); 55 this. $el.append( '<br class="clear"/>' );55 this.view.$el.append( '<br class="clear"/>' ); 56 56 }, 57 57 58 58 // Search input and view … … 491 491 492 492 // 'Add new theme' element shown at the end of the grid 493 493 if ( themes.data.settings.canInstall ) { 494 this. $el.append( '<div class="theme add-new-theme"><a href="' + themes.data.settings.installURI + '"><div class="theme-screenshot"><span></span></div><h3 class="theme-name">' + l10n.addNew + '</h3></a></div>' );494 this.theme.$el.after( '<div class="theme add-new-theme"><a href="' + themes.data.settings.installURI + '"><div class="theme-screenshot"><span></span></div><h3 class="theme-name">' + l10n.addNew + '</h3></a></div>' ); 495 495 } 496 496 497 497 this.parent.page++;