~vcs-imports/reviewboard/trunk

« back to all changes in this revision

Viewing changes to reviewboard/static/rb/js/views/draftReviewBannerView.es6.js

  • Committer: Christian Hammond
  • Date: 2021-03-25 23:14:15 UTC
  • mfrom: (4677.3.150)
  • Revision ID: git-v1:6bcbb8d9c5d79a2cda13fc4575cde36085f0eaec
Merge branch 'release-4.0.x'

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
 
98
98
        this._publishButton.render();
99
99
 
100
 
        if (!this.$el.hasClass('hidden')) {
 
100
        if (!this.$el.prop('hidden')) {
101
101
            this.show();
102
102
        }
103
103
 
117
117
        RB.scrollManager.markForUpdate(this.$el);
118
118
 
119
119
        this.$el
 
120
            .prop('hidden', false)
120
121
            .removeClass('hidden')
121
122
            .css({
122
123
                maxHeight: height,
137
138
        const height = this._$banner.outerHeight();
138
139
 
139
140
        this.$el
 
141
            .prop('hidden', true)
140
142
            .addClass('hidden')
141
143
            .css('max-height', '');
142
144