Small bug fixes

This commit is contained in:
Kenneth Jao 2016-09-09 01:41:07 -04:00
parent ef0d586eff
commit 83e0ae74b4
2 changed files with 5 additions and 2 deletions

View File

@ -33,8 +33,9 @@
#logo { #logo {
height: 10vh; height: 10vh;
width: 10vh; width: 10vh;
padding: 1.1vh; padding: 1.5vh;
padding-left: 1.5vh; line-height: 13vh;
float: left; float: left;
-webkit-filter: drop-shadow(2px 2px 5px #333); -webkit-filter: drop-shadow(2px 2px 5px #333);

View File

@ -488,6 +488,7 @@ Template.main.events({
openDivFade(modeHolder); openDivFade(modeHolder);
}, 300); }, 300);
Session.set("sidebar", null); // Closes all sidebars. Session.set("sidebar", null); // Closes all sidebars.
Session.set("calCreWork", null);
}, },
'click .calendar' () { // Click calendar mode button. 'click .calendar' () { // Click calendar mode button.
if (Session.equals("mode", "calendar")) return; if (Session.equals("mode", "calendar")) return;
@ -498,6 +499,7 @@ Template.main.events({
openDivFade(modeHolder); openDivFade(modeHolder);
}, 300); }, 300);
Session.set("sidebar", null); // Closes all sidebars. Session.set("sidebar", null); // Closes all sidebars.
Session.set("calCreWork", null);
}, },
'click .creWork' (event) { // Cick add work button. 'click .creWork' (event) { // Cick add work button.
var attr; var attr;