Commit 5dcca7e4806730d4d77eff711a9b91b5a3ca8314
1 parent
3551df8e
Exists in
master
and in
4 other branches
Remove some JS that is no longer used
Showing
1 changed file
with
0 additions
and
6 deletions
Show diff stats
app/assets/javascripts/main.js.coffee
@@ -37,12 +37,6 @@ $ -> | @@ -37,12 +37,6 @@ $ -> | ||
37 | # Show/Hide the profile menu when hovering the account box | 37 | # Show/Hide the profile menu when hovering the account box |
38 | $('.account-box').hover -> $(this).toggleClass('hover') | 38 | $('.account-box').hover -> $(this).toggleClass('hover') |
39 | 39 | ||
40 | - $("#projects-list .project").live 'click', (e) -> | ||
41 | - if e.target.nodeName isnt "A" and e.target.nodeName isnt "INPUT" | ||
42 | - location.href = $(this).attr("url") | ||
43 | - e.stopPropagation() | ||
44 | - false | ||
45 | - | ||
46 | # Focus search field by pressing 's' key | 40 | # Focus search field by pressing 's' key |
47 | $(document).keypress (e) -> | 41 | $(document).keypress (e) -> |
48 | # Don't do anything if typing in an input | 42 | # Don't do anything if typing in an input |