Commit 352ea0ae authored by Jacob Schatz's avatar Jacob Schatz

Merge branch 'mr-widget-reload-fix' into 'master'

Merge request widget class names update

See merge request !8700
parents 084ac867 22f69a4f
......@@ -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'));
});
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment