Team:Gothenburg/Calendar
From 2014.igem.org
(Difference between revisions)
(andreas bugfixing) |
(andreas bugfixing) |
||
Line 1,452: | Line 1,452: | ||
var box = $( "#contentDialog" ); | var box = $( "#contentDialog" ); | ||
- | $(document).on('click', function(event) { | + | $(document).on('click', function(event) { |
- | + | if (!$(event.target).closest('.date').length && | |
- | + | !$(event.target).closest('#contentDialog').length && | |
- | + | !$(event.target).closest('#closeContentDialog').length) { | |
- | + | box.fadeOut(); | |
- | + | } | |
- | }); | + | }); |
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</script> | </script> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 15:06, 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
|