Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Commit

Permalink
Only add the window resize listener for IE8 as that's the only versio…
Browse files Browse the repository at this point in the history
…n that needs it
  • Loading branch information
Jason Johnston committed Jul 26, 2010
1 parent ca4e5b2 commit 5290f3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/htc_open.txt
Expand Up @@ -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()" />
Expand Down

0 comments on commit 5290f3a

Please sign in to comment.