diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2015-03-18 09:26:04 +0000 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2015-03-18 09:26:04 +0000 |
commit | f9a3f400d04a4d0c8d8dccc42028a56181a8c9d5 (patch) | |
tree | d95e6243d484a6d64f3c45d81d7170899dc65d34 /assets | |
parent | 6565e14d2459b81961e5a605b2691ea54cbe7256 (diff) | |
download | sariulclocks-f9a3f400d04a4d0c8d8dccc42028a56181a8c9d5.tar.gz |
implement lucky number
Diffstat (limited to 'assets')
-rw-r--r-- | assets/js/main.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/assets/js/main.js b/assets/js/main.js index b79de74..04dee03 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -178,7 +178,8 @@ toggleDateStyle(); function luckyNumber() { - alert("not yet"); + var students = parseInt(readCookie("ss_cookie")); + alert(getRandomInt(1, students)); } // toggle the count-down and count-up clocks |