diff options
author | Simon Knox <psimyn@gmail.com> | 2017-07-17 15:44:08 +1000 |
---|---|---|
committer | Simon Knox <psimyn@gmail.com> | 2017-07-17 16:16:32 +1000 |
commit | a8f22ddf128a087e4a86063b50f3634ad51e89b0 (patch) | |
tree | 818435cc462778079f945c0a211782163d3fc965 /app/views | |
parent | 00861676a0cac3154153ec1afd7582991628e16e (diff) | |
download | gitlab-ce-a8f22ddf128a087e4a86063b50f3634ad51e89b0.tar.gz |
move click handler to button. when on the icon it wasn't triggered in firefox35164-cycle-analytics-firefox
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/cycle_analytics/show.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/cycle_analytics/show.html.haml b/app/views/projects/cycle_analytics/show.html.haml index 7000b289f75..7e7b7335597 100644 --- a/app/views/projects/cycle_analytics/show.html.haml +++ b/app/views/projects/cycle_analytics/show.html.haml @@ -9,8 +9,8 @@ #cycle-analytics{ class: container_class, "v-cloak" => "true", data: { request_path: project_cycle_analytics_path(@project) } } - if @cycle_analytics_no_data .landing.content-block{ "v-if" => "!isOverviewDialogDismissed" } - %button.dismiss-button{ type: 'button', 'aria-label': 'Dismiss Cycle Analytics introduction box' } - = icon("times", "@click" => "dismissOverviewDialog()") + %button.dismiss-button{ type: 'button', 'aria-label': 'Dismiss Cycle Analytics introduction box', "@click" => "dismissOverviewDialog()" } + = icon("times") .svg-container = custom_icon('icon_cycle_analytics_splash') .inner-content |