diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-10 12:11:34 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-10 12:11:34 -0500 |
commit | 46031d63cd085e392d5c3f406404cf7752a75561 (patch) | |
tree | 8a0fa3a26bdb05f16eb846533eb1de08f674f1d7 /app/assets/javascripts/prometheus_metrics | |
parent | 28b0ed33cf968ca39d485de3e2777564dc1c9724 (diff) | |
download | gitlab-ce-46031d63cd085e392d5c3f406404cf7752a75561.tar.gz |
[skip ci] Convert panel related class names to card
Diffstat (limited to 'app/assets/javascripts/prometheus_metrics')
-rw-r--r-- | app/assets/javascripts/prometheus_metrics/prometheus_metrics.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/prometheus_metrics/prometheus_metrics.js b/app/assets/javascripts/prometheus_metrics/prometheus_metrics.js index 0a60f4845b2..1a75fdd75db 100644 --- a/app/assets/javascripts/prometheus_metrics/prometheus_metrics.js +++ b/app/assets/javascripts/prometheus_metrics/prometheus_metrics.js @@ -31,7 +31,7 @@ export default class PrometheusMetrics { /* eslint-disable class-methods-use-this */ handlePanelToggle(e) { const $toggleBtn = $(e.currentTarget); - const $currentPanelBody = $toggleBtn.closest('.panel').find('.panel-body'); + const $currentPanelBody = $toggleBtn.closest('.card').find('.card-body'); $currentPanelBody.toggleClass('hidden'); if ($toggleBtn.hasClass('fa-caret-down')) { $toggleBtn.removeClass('fa-caret-down').addClass('fa-caret-right'); |