diff options
| author | Yuval Adam <yuval@y3xz.com> | 2015-07-15 14:02:53 +0300 |
|---|---|---|
| committer | Yuval Adam <yuval@y3xz.com> | 2015-07-15 14:02:53 +0300 |
| commit | 3f17dae14c0d27b8d6f6479a00f25469c1a5dcc4 (patch) | |
| tree | d8536ca4eb72ee9f6935031288f9f04b872b891a /client/button.js | |
| parent | 40f7ed633ebdaa90822a863ccf63a5a3c125be79 (diff) | |
Set default month and year offsets
Diffstat (limited to 'client/button.js')
| -rw-r--r-- | client/button.js | 8 |
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(); |
