mirror of
https://github.com/glest/glest-source.git
synced 2025-09-30 01:18:58 +02:00
fixed json desktop notifications
This commit is contained in:
@@ -26,8 +26,7 @@ function asynchDone(url, target) {
|
||||
}
|
||||
}
|
||||
|
||||
//debugger;
|
||||
for(var gameIndex = 1; gameIndex < 200; ++gameIndex) {
|
||||
function setupGameStatsLink(gameIndex) {
|
||||
if(document.getElementById('gameStats_' + gameIndex) ) {
|
||||
var link = document.getElementById('gameStats_' + gameIndex);
|
||||
link.onclick = function() {
|
||||
@@ -48,3 +47,9 @@ for(var gameIndex = 1; gameIndex < 200; ++gameIndex) {
|
||||
};
|
||||
}
|
||||
}
|
||||
//debugger;
|
||||
|
||||
for(var gameIndex = 1; gameIndex < 200; ++gameIndex) {
|
||||
setupGameStatsLink(gameIndex);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user