Permalink
Browse files

only trigger on the day numbers

  • Loading branch information...
1 parent 1bf1a58 commit fdde51a3c5cb4acb32419a921865997e3ba77832 @digitaltom digitaltom committed Mar 12, 2013
Showing with 5 additions and 5 deletions.
  1. +5 −5 js/hackweek.js
View
@@ -52,23 +52,23 @@ $(function () {
/* agenda */
- $("#monday, #monday-content").on('mouseover click', function(event) {
+ $("#monday .agenda-item .day-number").on('mouseover click', function(event) {
event.stopPropagation()
slidein_agenda_day($('#monday-content'), 0 * 200)
})
- $("#tuesday, #tuesday-content").on('mouseover click', function(event) {
+ $("#tuesday .agenda-item .day-number").on('mouseover click', function(event) {
event.stopPropagation()
slidein_agenda_day($('#tuesday-content'), 1 * 200)
})
- $("#wednesday, #wednesday-content").on('mouseover click', function(event) {
+ $("#wednesday .agenda-item .day-number").on('mouseover click', function(event) {
event.stopPropagation()
slidein_agenda_day($('#wednesday-content'), 2 * 200)
})
- $("#thursday, #thursday-content").on('mouseover click', function(event) {
+ $("#thursday .agenda-item .day-number").on('mouseover click', function(event) {
event.stopPropagation()
slidein_agenda_day($('#thursday-content'), 3 * 200)
})
- $("#friday, #friday-content").on('mouseover click', function(event) {
+ $("#friday .agenda-item .day-number").on('mouseover click', function(event) {
event.stopPropagation()
slidein_agenda_day($('#friday-content'), 4 * 200)
})

0 comments on commit fdde51a

Please sign in to comment.