Added menu button

This commit is contained in:
Lars van Hijfte
2017-01-26 11:48:06 +01:00
parent 8fb8df075f
commit 7b7f0b2c64
4 changed files with 8 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
$(document).ready(function() {
// Toggle menu
$("#own-profile-picture").click(function() {
$("#own-profile-picture, #open-notifications").click(function() {
if ($("#notification-center").css('right') == "-256px") {
// Make the menu visible and move the content to the left.
$("#chat-history").width("calc(100% - 587px)");