X-Git-Url: https://git.auder.net/?p=westcastle.git;a=blobdiff_plain;f=js%2Findex.js;h=f58a403d42ac7ff2d9590e456b4a664e3efc95b8;hp=0d2adad0026adcdd1c931675ff836ca2f7d9a7d9;hb=8d4d23009371e7ca83e0793185f0ae8485190007;hpb=ce0473b4fac73ad9ac63cf8fa480548817349804 diff --git a/js/index.js b/js/index.js index 0d2adad..f58a403 100644 --- a/js/index.js +++ b/js/index.js @@ -193,7 +193,7 @@ new Vue({ }; }, template: ` -
+
{{ formattedTime }}
@@ -206,9 +206,12 @@ new Vue({ let minutes = Math.floor(this.time / 60); return this.padToZero(minutes) + ":" + this.padToZero(seconds); }, - textHeight: function() { + divHeight: function() { return screen.height; }, + divWidth: function() { + return screen.width; + }, }, methods: { padToZero: function(a) {