diff options
-rw-r--r-- | hesla.appcache | 2 | ||||
-rw-r--r-- | hesla.ts | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/hesla.appcache b/hesla.appcache index 0c1395f..32c7d2f 100644 --- a/hesla.appcache +++ b/hesla.appcache @@ -1,5 +1,5 @@ CACHE MANIFEST -# v61 - 2014-11-17 +# v62 - 2014-11-17 hesla.js icon-128.png icon-30.png @@ -103,6 +103,13 @@ export class Hesla extends ap.ActivePage { document.getElementById(this.cur_section.toISODateString()).classList.add("visible"); } + /** + * Hides the current Losungen + */ + hide() { + document.getElementById(this.cur_watchword).classList.remove('visible'); + } + shiftDate(shift: number) { var cur_date = this.cur_watchword; cur_date.setDate(cur_date.getDate() + shift); |