mirror of
https://github.com/servo/servo.git
synced 2025-06-24 00:54:32 +01:00
Fix color-change-text.js
After a2bdab7
we need window.document instead of document.
This commit is contained in:
parent
ea5fb8c4a3
commit
b266b5a949
1 changed files with 1 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
|||
window.setTimeout(function () {
|
||||
document.getElementsByTagName('div')[0].setAttribute('class', 'blue');
|
||||
window.document.getElementsByTagName('div')[0].setAttribute('class', 'blue');
|
||||
}, 1000);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue