summaryrefslogtreecommitdiff
path: root/app/assets/javascripts
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2016-10-17 22:10:43 +0100
committerFilipa Lacerda <filipa@gitlab.com>2016-10-17 22:10:43 +0100
commitc3cf103fee47c056c7258d2921a34cf68a02022c (patch)
treebf3f373c8e708f8cfb7426cb2819c8fe099cbe3e /app/assets/javascripts
parent34e19b9b8dccd7cd2e6c2bb408e75c70f3b6f3b9 (diff)
downloadgitlab-ce-c3cf103fee47c056c7258d2921a34cf68a02022c.tar.gz
Updates class name for consistency
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/merge_request_widget.js.es64
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 639859ab96f..3ff6851d59b 100644
--- a/app/assets/javascripts/merge_request_widget.js.es6
+++ b/app/assets/javascripts/merge_request_widget.js.es6
@@ -17,7 +17,7 @@
View on <%- external_url_formatted %>
</a>
</span>
- <span class="close-env-container js-close-env-link">
+ <span class="stop-env-container js-stop-env-link">
<a href="<%- stop_url %>" class="close-evn-link" data-method="post" rel="nofollow" data-confirm="Are you sure you want to stop this environment?">
<i class="fa fa-stop-circle-o"/>
Stop environment
@@ -213,7 +213,7 @@
if (!environment.external_url || !environment.external_url_formatted) $('.js-environment-link', $template).remove();
if (!environment.stop_url) {
- $('.js-close-env-link', $template).remove();
+ $('.js-stop-env-link', $template).remove();
}
if (environment.deployed_at && environment.deployed_at_formatted) {