Team:Gothenburg/Calendar
From 2014.igem.org
(Difference between revisions)
m |
(andreas bugfixing) |
||
Line 1,453: | Line 1,453: | ||
/*hide popup*/ | /*hide popup*/ | ||
+ | /* | ||
jQuery(document).on('click', function(event) { | jQuery(document).on('click', function(event) { | ||
+ | |||
if (!jQuery(event.target).closest('.date').length) { | if (!jQuery(event.target).closest('.date').length) { | ||
- | + | box.fadeOut(); | |
} | } | ||
+ | |||
+ | |||
+ | }); | ||
+ | */ | ||
+ | |||
+ | jQuery(document).click(function(event) { | ||
+ | |||
+ | |||
+ | if (!jQuery(event.target).closest('.date').length) { | ||
+ | box.fadeOut(); | ||
+ | } | ||
+ | |||
}); | }); | ||
Line 1,464: | Line 1,478: | ||
jQuery( ".date" ).click(function() { | jQuery( ".date" ).click(function() { | ||
- | + | if (!jQuery(event.target).closest('.date').length) { | |
+ | box.fadeOut(); | ||
+ | } | ||
}); | }); |
Revision as of 15:39, 7 August 2014
26
|
27
|
28
|
29
|
30
|
31
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
1
|
2
|
3
|
4
|
5
|
6
|
30
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
31
|
1
|
2
|
3
|
28
|
29
|
30
|
31
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
31
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
1
|
2
|
3
|
4
|
5
|