Moderators: Tech Team, Global Moderators


jefjef wrote:Operating System: Dell with Intel inside
Browser: Fire Fox
Scripts/third party programs used: BOB
Concise description: My active game turn expiration clock for all games show: Tomorrow @ NaN:NaN am
I have no clue as to what time NaN:NaN is. Is it French?
function updateMyGamesClock(elements) {
$(elements).each(function (){
var currentHTML = this.innerHTML,
time = currentHTML.split('<br>')[2].split(':'),
// ^
// |
// +--< that was a 1, modified by ender516 to a 2 to
// deal with Round Limits changes to My Games page
targetDate = new Date(),
secondsLeft = parseInt(time[2],10) + parseInt(time[1],10) * 60 + parseInt(time[0],10) * 60 * 60,
additionalClock = $(this).find('.additionalClock');
targetDate.setTime(targetDate.getTime() + (secondsLeft * 1000));
if (!additionalClock.exists()) {
additionalClock = $('<span class="additionalClock"></span>');
$(this).append('<br />').append(additionalClock);
}
additionalClock.html(getAdditionalClockInfo(targetDate));
});
}


ender516 wrote:Sherkaner is on vacation, but I have proposed a temporary fix here.
kuma32478 wrote:Where do you go to edit the script?

nippersean wrote:it's the same for me. Does it mean my Nan is sitting my account? This is a worry, she is blind all ready and is 100 this year.
Just hope the dice are good. Go for it Bettie!!

Users browsing this forum: No registered users and 1 guest