From 59ecd28d2e97d68646eb1d81b03a3f5c2dd71f4c Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Fri, 29 Nov 2013 05:17:00 +0000 Subject: [PATCH] Themes: Add a clearing
to the end of .theme-browser. This is needed to cause the browser to render .theme-browser's height as it's true height, previously the reported height was 1*.theme which caused the Theme scroller to kick in immediately (as the threshold was less than 0). See #25981 See #25948 git-svn-id: https://develop.svn.wordpress.org/trunk@26468 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/js/theme.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-admin/js/theme.js b/src/wp-admin/js/theme.js index 80dcee5e22..7318f3ba5b 100644 --- a/src/wp-admin/js/theme.js +++ b/src/wp-admin/js/theme.js @@ -52,6 +52,7 @@ themes.view.Appearance = wp.Backbone.View.extend({ // Render and append this.view.render(); this.$el.append( this.view.el ); + this.$el.append( '
' ); }, // Search input and view