Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

only trigger on the day numbers

  • Loading branch information...
commit fdde51a3c5cb4acb32419a921865997e3ba77832 1 parent 1bf1a58
@digitaltom digitaltom authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 js/hackweek.js
View
10 js/hackweek.js
@@ -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)
})
Please sign in to comment.
Something went wrong with that request. Please try again.