mirror of
https://github.com/WilliamsNY/contain-element.git
synced 2024-09-07 20:41:22 -04:00
Update one more comment to reflect changes since writing it
This commit is contained in:
parent
7c1a8a5070
commit
7378d74b65
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ function ContainElement(options) {
|
|||
element.style.top = 0 + 'px';
|
||||
}
|
||||
} else {
|
||||
// Try again in 30ms if the document didn't load enough to determine its width and height yet
|
||||
// Try again in 30ms if the document didn't load enough to determine the parent element's width and height yet
|
||||
window.setTimeout(updateContain, 30);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue