diff options
author | Simon Knox <psimyn@gmail.com> | 2017-07-17 08:44:08 +0300 |
---|---|---|
committer | Simon Knox <psimyn@gmail.com> | 2017-07-17 09:16:32 +0300 |
commit | a8f22ddf128a087e4a86063b50f3634ad51e89b0 (patch) | |
tree | 818435cc462778079f945c0a211782163d3fc965 /app/views/projects | |
parent | 00861676a0cac3154153ec1afd7582991628e16e (diff) |
move click handler to button. when on the icon it wasn't triggered in firefox
Diffstat (limited to 'app/views/projects')
-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 |