mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 18:32:00 +00:00
Move setTimeout to onload to make sure it doesn't fire too early.
This commit is contained in:
parent
2553fb5ca8
commit
452232cbcf
@ -15,14 +15,12 @@ function boom() {
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
|
||||
setTimeout(boom, 30);
|
||||
|
||||
]]></script>
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
<body>
|
||||
<body onload="setTimeout(boom, 30);">
|
||||
|
||||
<div style="float: right;" id="div">Floated div</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user