Fix color-change-text.js

After a2bdab7 we need window.document instead of document.
This commit is contained in:
Keegan McAllister 2013-08-01 11:36:36 -07:00
parent ea5fb8c4a3
commit b266b5a949

View file

@ -1,3 +1,3 @@
window.setTimeout(function () {
document.getElementsByTagName('div')[0].setAttribute('class', 'blue');
window.document.getElementsByTagName('div')[0].setAttribute('class', 'blue');
}, 1000);