diff options
author | Phil Hughes <me@iamphill.com> | 2017-01-22 15:08:25 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-01-22 15:08:25 +0000 |
commit | 22f69a4f1c6a24d961b6c09d57c64a30b0190f80 (patch) | |
tree | 058324e01f259ba3c13b38561f8ee5c4d6add508 | |
parent | db93069649a74859cf089847a1bcc7277ade95c9 (diff) | |
download | gitlab-ce-mr-widget-reload-fix.tar.gz |
Merge request widget class names updatemr-widget-reload-fix
-rw-r--r-- | app/assets/javascripts/merge_request_widget.js.es6 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/merge_request_widget.js.es6 b/app/assets/javascripts/merge_request_widget.js.es6 index b069379115b..7cc319e2f4e 100644 --- a/app/assets/javascripts/merge_request_widget.js.es6 +++ b/app/assets/javascripts/merge_request_widget.js.es6 @@ -127,8 +127,8 @@ MergeRequestWidget.prototype.getMergeStatus = function() { return $.get(this.opts.merge_check_url, function(data) { var $html = $(data); - $('.mr-state-body').replaceWith($html.find('.mr-state-body')); - $('.mr-state-footer').replaceWith($html.find('.mr-state-footer')); + $('.mr-widget-body').replaceWith($html.find('.mr-widget-body')); + $('.mr-widget-footer').replaceWith($html.find('.mr-widget-footer')); }); }; |