minor cleanup

This commit is contained in:
Kenneth Jao 2017-04-19 03:25:16 -04:00
parent ef2c00cc8d
commit 9944d9c20d
3 changed files with 4 additions and 4 deletions

View File

@ -47,3 +47,4 @@ rajit:bootstrap3-datepicker
hammer:hammer@=2.0.4_1 hammer:hammer@=2.0.4_1
velocityjs:velocityjs velocityjs:velocityjs
mystor:device-detection mystor:device-detection
meteorhacks:sikka

View File

@ -27,6 +27,7 @@ caching-compiler@1.1.8
caching-html-compiler@1.0.7 caching-html-compiler@1.0.7
callback-hook@1.0.10 callback-hook@1.0.10
check@1.2.4 check@1.2.4
chuangbo:cookie@1.1.0
coffeescript@1.11.1_2 coffeescript@1.11.1_2
cosmos:browserify@0.10.0 cosmos:browserify@0.10.0
dandv:caret-position@2.1.1 dandv:caret-position@2.1.1
@ -73,6 +74,8 @@ mdg:validation-error@0.5.1
meteor@1.6.0 meteor@1.6.0
meteor-base@1.0.4 meteor-base@1.0.4
meteorhacks:meteorx@1.4.1 meteorhacks:meteorx@1.4.1
meteorhacks:picker@1.0.3
meteorhacks:sikka@1.0.1
meteorhacks:unblock@1.1.0 meteorhacks:unblock@1.1.0
mfactory:admin-lte@0.0.2 mfactory:admin-lte@0.0.2
minifier-css@1.2.15 minifier-css@1.2.15

View File

@ -770,10 +770,6 @@ sendData = function(funcName) { // Call Meteor function, and do actions after fu
toggleToMode("manageClass"); toggleToMode("manageClass");
} }
} }
if(Meteor.Device.isPhone()) mobileWork();
calendarEvents(myClasses());
$("#fullcalendar").fullCalendar("removeEvents");
$("#fullcalendar").fullCalendar("addEventSource", Session.get("calendarEvents"));
document.getElementsByTagName("body")[0].style.color = Session.get("user").preferences.theme.textColor; document.getElementsByTagName("body")[0].style.color = Session.get("user").preferences.theme.textColor;
}); });
} }