|
@@ -41,7 +41,7 @@ $(document).ready(function(){
|
|
|
});
|
|
|
|
|
|
//Rechargement
|
|
|
- $("#reload").on('click', function(){
|
|
|
+ $(".reload").on('click', function(){
|
|
|
if(first){
|
|
|
reload(false);
|
|
|
first = false;
|
|
@@ -53,12 +53,12 @@ $(document).ready(function(){
|
|
|
perma_check();
|
|
|
|
|
|
//Reset
|
|
|
- $('#reset').on('click', function(){
|
|
|
+ $('.reset').on('click', function(){
|
|
|
reset_score();
|
|
|
});
|
|
|
|
|
|
//Quit
|
|
|
- $('#quit').on('click', function(){
|
|
|
+ $('.quit').on('click', function(){
|
|
|
location.href = './?quit';
|
|
|
});
|
|
|
|
|
@@ -71,7 +71,6 @@ $(document).ready(function(){
|
|
|
});
|
|
|
|
|
|
function check(){
|
|
|
- console.log(uniqId);
|
|
|
$.post("ajx/check.php", {'id': uniqId}, function(data){
|
|
|
if(data.etat == 'ok'){
|
|
|
if(data.update){
|