mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
b=390898, just some dumb pageloader typos, r=stuart
This commit is contained in:
parent
d807a3f46e
commit
3cac114815
@ -161,7 +161,7 @@ function plInit() {
|
||||
|
||||
content = document.getElementById('contentPageloader');
|
||||
|
||||
setTimeout(plLoadPage, 0);
|
||||
setTimeout(plLoadPage, 250);
|
||||
}
|
||||
} catch(e) {
|
||||
dumpLine(e);
|
||||
@ -208,7 +208,7 @@ function plNextPage() {
|
||||
if (pageIndex < pages.length-1) {
|
||||
pageIndex++;
|
||||
|
||||
setTimeout(plLoadPage, 0);
|
||||
setTimeout(plLoadPage, 250);
|
||||
} else {
|
||||
plStop(false);
|
||||
}
|
||||
@ -234,7 +234,7 @@ function plLoadHandlerCapturing(evt) {
|
||||
// set up the function for content to call
|
||||
content.contentWindow.wrappedJSObject.tpRecordTime = function (time) {
|
||||
plRecordTime(time);
|
||||
setTimeout(plNextPage, 0);
|
||||
setTimeout(plNextPage, 250);
|
||||
};
|
||||
}
|
||||
|
||||
@ -292,7 +292,7 @@ function plStop(force) {
|
||||
pageIndex = 0;
|
||||
if (cycle < NUM_CYCLES-1) {
|
||||
cycle++;
|
||||
setTimeout(plLoadPage, 0);
|
||||
setTimeout(plLoadPage, 250);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -164,7 +164,7 @@ function strPad(o, len, left) {
|
||||
return str;
|
||||
}
|
||||
|
||||
function strPadFixed0(n, len, left) {
|
||||
function strPadFixed(n, len, left) {
|
||||
return strPad(n.toFixed(0), len, left);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user