js fixes
This commit is contained in:
parent
7418114497
commit
496d323644
|
@ -41,7 +41,7 @@ var lichess = {
|
||||||
onProduction: /.+\.lichess\.org/.test(document.domain),
|
onProduction: /.+\.lichess\.org/.test(document.domain),
|
||||||
socketUrl: document.domain + ":9000"
|
socketUrl: document.domain + ":9000"
|
||||||
};
|
};
|
||||||
lichess.socketDefaults.options.debug = !lichess.onProduction;
|
//lichess.socketDefaults.options.debug = !lichess.onProduction;
|
||||||
|
|
||||||
$(function() {
|
$(function() {
|
||||||
|
|
||||||
|
@ -296,7 +296,6 @@ $.fn.orNot = function() {
|
||||||
};
|
};
|
||||||
|
|
||||||
$.trans = function(text) {
|
$.trans = function(text) {
|
||||||
//if (!lichess_translations[text]) console.debug(text);
|
|
||||||
return lichess_translations[text] ? lichess_translations[text] : text;
|
return lichess_translations[text] ? lichess_translations[text] : text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -15,12 +15,6 @@ $.widget("lichess.game", {
|
||||||
self.options.socketUrl = self.element.data('socket-url');
|
self.options.socketUrl = self.element.data('socket-url');
|
||||||
self.socketAckTimeout;
|
self.socketAckTimeout;
|
||||||
|
|
||||||
//setInterval(function() {
|
|
||||||
//$('a.view_tournament').each(function() {
|
|
||||||
//location.href = $(this).attr("href");
|
|
||||||
//});
|
|
||||||
//}, 3000);
|
|
||||||
|
|
||||||
if (self.options.game.started) {
|
if (self.options.game.started) {
|
||||||
self.indicateTurn();
|
self.indicateTurn();
|
||||||
self.initSquaresAndPieces();
|
self.initSquaresAndPieces();
|
||||||
|
|
4
todo
4
todo
|
@ -40,7 +40,3 @@ chat icons (k) (K)
|
||||||
blind accessible
|
blind accessible
|
||||||
home anon replace chat with mini boards
|
home anon replace chat with mini boards
|
||||||
make hand and finisher actors to avoid racing conditions
|
make hand and finisher actors to avoid racing conditions
|
||||||
tournament scroll chat
|
|
||||||
tournament fix clock display in infoBox
|
|
||||||
tournament no matching
|
|
||||||
tournament chat encoding
|
|
||||||
|
|
Loading…
Reference in a new issue