mirror of
https://github.com/Febbweiss/febbweiss.github.io.git
synced 2026-03-05 06:35:50 +00:00
Refactoring: manage generated static site
This commit is contained in:
10
extra/js/yahtzee.js
Normal file
10
extra/js/yahtzee.js
Normal file
@@ -0,0 +1,10 @@
|
||||
$(document).ready(function() {
|
||||
$('#startBtn').on('click', function(event) {
|
||||
Yahtzee.clear(true);
|
||||
Yahtzee.scoreUp = Yahtzee.scoreDown = 0;
|
||||
$('span[id$="Score"]').html(' ');
|
||||
$("#scorePanel").hide();
|
||||
$("#launch").html(0);
|
||||
$("#launchBtn").removeClass("disabled");
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user