Make sure that the defaultView exists before attempting to get at the computedStyle...
authorJohn Resig <jeresig@gmail.com>
Thu, 10 Dec 2009 04:58:49 +0000 (20:58 -0800)
committerJohn Resig <jeresig@gmail.com>
Thu, 10 Dec 2009 04:58:49 +0000 (20:58 -0800)
commitcf72fba64fd164507752376a578dee7919cec911
tree3341cb13bf782d7ac64d9fc1e36439017c7fbc81
parent4e9fed3b16ed9612ed373d14a89294e98054f4dd
Make sure that the defaultView exists before attempting to get at the computedStyle (makes it easier to hide items that don't have a view). Fixes #5619.
src/css.js