Permalink
Browse files

Only add the window resize listener for IE8 as that's the only versio…

…n that needs it
  • Loading branch information...
1 parent ca4e5b2 commit 5290f3a5f3481c2ab1b750b0ce73fb0d9dae56b1 Jason Johnston committed Jul 26, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 sources/htc_open.txt
View
@@ -6,7 +6,7 @@ Dual-licensed for use under the Apache License Version 2.0 or the General Public
-->
<PUBLIC:COMPONENT lightWeight="true">
<PUBLIC:ATTACH EVENT="onresize" FOR="element" ONEVENT="update()" />
- <PUBLIC:ATTACH EVENT="onresize" FOR="window" ONEVENT="update()" /><!-- for IE8 -->
+ <!--[if IE 8]><PUBLIC:ATTACH EVENT="onresize" FOR="window" ONEVENT="update()" /><![endif]-->
<PUBLIC:ATTACH EVENT="onmove" FOR="element" ONEVENT="update()" />
<PUBLIC:ATTACH EVENT="onpropertychange" FOR="element" ONEVENT="propChanged()" />
<PUBLIC:ATTACH EVENT="onmouseenter" FOR="element" ONEVENT="mouseEntered()" />

0 comments on commit 5290f3a

Please sign in to comment.