Commit d7bc1214748564604eb544c56dabb0b551737ae6
1 parent
5133fe8e
Exists in
master
and in
4 other branches
replace javascript:void with preventDefault
Showing
2 changed files
with
3 additions
and
2 deletions
Show diff stats
app/assets/javascripts/dashboard.js.coffee
app/helpers/events_helper.rb
... | ... | @@ -29,7 +29,7 @@ module EventsHelper |
29 | 29 | end |
30 | 30 | |
31 | 31 | content_tag :div, class: "filter_icon #{inactive}" do |
32 | - link_to 'javascript:void(0)', class: 'has_tooltip event_filter_link', id: "#{key}_event_filter", 'data-original-title' => tooltip do | |
32 | + link_to dashboard_path, class: 'has_tooltip event_filter_link', id: "#{key}_event_filter", 'data-original-title' => tooltip do | |
33 | 33 | image_tag "event_filter_#{key}.png" |
34 | 34 | end |
35 | 35 | end | ... | ... |