Update client.js

This commit is contained in:
yamanq 2016-02-07 15:22:01 -05:00
parent bd0299516d
commit 246720872b

View File

@ -2,8 +2,6 @@ var allowedu = {};
allowedu["ybq987@gmail.com"] = true; allowedu["ybq987@gmail.com"] = true;
allowedu["dweinger@bloomfield.org"] = true; allowedu["dweinger@bloomfield.org"] = true;
var done = false;
Meteor.subscribe('schedule'); Meteor.subscribe('schedule');
@ -30,7 +28,6 @@ Template.client.helpers({
Template.client.events({ Template.client.events({
"focus input": function() { "focus input": function() {
if (!done) {
today = new Date() today = new Date()
$('#date').datepicker({ $('#date').datepicker({
startDate: today.toLocaleDateString(), startDate: today.toLocaleDateString(),
@ -39,8 +36,6 @@ Template.client.events({
autoclose: true, autoclose: true,
todayHighlight: true todayHighlight: true
}); });
done = true;
}
}, },
"click button": function() { "click button": function() {