diff options
-rw-r--r-- | app/assets/javascripts/pipelines/components/graph/job_component.vue | 4 | ||||
-rw-r--r-- | app/assets/javascripts/vue_shared/directives/tooltip.js | 8 |
2 files changed, 3 insertions, 9 deletions
diff --git a/app/assets/javascripts/pipelines/components/graph/job_component.vue b/app/assets/javascripts/pipelines/components/graph/job_component.vue index 2fdace6e01a..1b6e02929a5 100644 --- a/app/assets/javascripts/pipelines/components/graph/job_component.vue +++ b/app/assets/javascripts/pipelines/components/graph/job_component.vue @@ -103,7 +103,7 @@ :title="tooltipText" :class="cssClassJobName" data-container="body" - data-html + data-html="true" class="js-pipeline-graph-job-link" > @@ -119,7 +119,7 @@ class="js-job-component-tooltip" :title="tooltipText" :class="cssClassJobName" - data-html + data-html="true" data-container="body" > diff --git a/app/assets/javascripts/vue_shared/directives/tooltip.js b/app/assets/javascripts/vue_shared/directives/tooltip.js index 02ac0aedf4f..b7f7e9fec15 100644 --- a/app/assets/javascripts/vue_shared/directives/tooltip.js +++ b/app/assets/javascripts/vue_shared/directives/tooltip.js @@ -2,13 +2,7 @@ import $ from 'jquery'; export default { bind(el) { - const tooltipOptions = {}; - - if (typeof el.dataset.html !== 'undefined') { - tooltipOptions.html = true; - } - - $(el).tooltip(tooltipOptions); + $(el).tooltip(); }, componentUpdated(el) { |