Merge branch 'master' into joey-testing

This commit is contained in:
Joey Lai
2017-01-20 16:24:59 +01:00
15 changed files with 232 additions and 113 deletions

View File

@@ -1,7 +1,27 @@
$(document).ready(function() {
// Hide notification center.
$("#profile-menu-popup").hide();
// $("#own-profile-picture").click(function() {
// $("#profile-menu-popup").toggle();
// $("#profile-hello-popup").toggle();
// });
$("#own-profile-picture").click(function() {
$("#profile-menu-popup").toggle();
$("#profile-hello-popup").toggle();
if($("#notification-center").css('right') == "-256px") {
// $(".content").animate({
// marginRight: "256px"
// }, 500);
$("#notification-center").animate({
right: "0px"
}, 500);
} else {
// $(".content").animate({
// marginRight: "0px"
// }, 500);
$("#notification-center").animate({
right: "-256px"
}, 500);
}
});
});