Line 20: | Line 20: | ||
$(this).css('cursor', 'auto'); | $(this).css('cursor', 'auto'); | ||
}); | }); | ||
+ | |||
+ | |||
$(svg.getElementById("bio")).popover({ | $(svg.getElementById("bio")).popover({ | ||
container: "body", | container: "body", | ||
Line 27: | Line 29: | ||
position: 'fixed' | position: 'fixed' | ||
}); | }); | ||
+ | $(svg.getElementById("bio")).on('click', function (e) { | ||
+ | $(svg.getElementById("bio")).not(this).popover('hide'); | ||
+ | }); | ||
+ | |||
// // // | // // // | ||
Line 41: | Line 47: | ||
position: 'fixed' | position: 'fixed' | ||
}); | }); | ||
+ | |||
+ | $(svg.getElementById("engineering")).on('click', function (e) { | ||
+ | $(svg.getElementById("engineering")).not(this).popover('hide'); | ||
+ | }); | ||
// // // | // // // |
Revision as of 12:27, 26 October 2017