Make WordPress Core

Ticket #38366: 38366.1.diff

File 38366.1.diff, 603 bytes (added by Fencer04, 9 years ago)

New version of patch created from the root for easier installation.

  • wp-includes/js/customize-views.js

     
    193193                },
    194194
    195195                toggleList: function() {
    196                         var title = this.$el.parents().prev('.customize-control-title'),
     196                        var title = this.$el.parent().prev('.customize-control-notifications-container').prev('.customize-control-title'),
    197197                                randomButton = this.$el.find('.random').parent();
    198198                        if (this.collection.shouldHideTitle()) {
    199199                                title.add(randomButton).hide();