]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/js/customize-views.js
WordPress 4.7-scripts
[autoinstalls/wordpress.git] / wp-includes / js / customize-views.js
index 9c1669fd23c7d4395e165dca2211c8a6030b8cf5..83792cb1b689c92304e1af4f4dcc230606f48c02 100644 (file)
@@ -3,7 +3,6 @@
        if ( ! wp || ! wp.customize ) { return; }
        var api = wp.customize;
 
-
        /**
         * wp.customize.HeaderTool.CurrentView
         *
                setPlaceholder: function(_height) {
                        var height = _height || this.getHeight();
                        this.model.set('savedHeight', height);
-                       this.$el
-                               .add(this.$el.find('.placeholder'))
-                               .height(height);
+                       this.$el.height(height);
                },
 
                setButtons: function() {
-                       var elements = $('.actions .remove');
+                       var elements = $('#customize-control-header_image .actions .remove');
                        if (this.model.get('choice')) {
                                elements.show();
                        } else {