summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/button.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/client/button.js b/client/button.js
index 476fc04..166d339 100644
--- a/client/button.js
+++ b/client/button.js
@@ -11,6 +11,14 @@ Router.onRun(function () {
this.next();
}, { only: ['login'] });
+Router.onRun(function () {
+ $(document).ready(function () {
+ $('div.all-months').offset({ top: -1142 });
+ $('div.all-years').offset({ top: -392 });
+ });
+ this.next();
+}, { only: ['dates'] });
+
function prepareDates() {
var month = $('input[name=month]').val();
var year = $('input[name=year]').val();