Skip to content

Commit

Permalink
only trigger on the day numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaltom committed Mar 12, 2013
1 parent 1bf1a58 commit fdde51a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions js/hackweek.js
Expand Up @@ -52,23 +52,23 @@ $(function () {


/* agenda */ /* agenda */


$("#monday, #monday-content").on('mouseover click', function(event) { $("#monday .agenda-item .day-number").on('mouseover click', function(event) {
event.stopPropagation() event.stopPropagation()
slidein_agenda_day($('#monday-content'), 0 * 200) 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() event.stopPropagation()
slidein_agenda_day($('#tuesday-content'), 1 * 200) 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() event.stopPropagation()
slidein_agenda_day($('#wednesday-content'), 2 * 200) 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() event.stopPropagation()
slidein_agenda_day($('#thursday-content'), 3 * 200) 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() event.stopPropagation()
slidein_agenda_day($('#friday-content'), 4 * 200) slidein_agenda_day($('#friday-content'), 4 * 200)
}) })
Expand Down

0 comments on commit fdde51a

Please sign in to comment.