myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r984802 - /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/msie_6_0/script/tobago.js
Date Thu, 12 Aug 2010 14:28:38 GMT
Author: lofwyr
Date: Thu Aug 12 14:28:38 2010
New Revision: 984802

URL: http://svn.apache.org/viewvc?rev=984802&view=rev
Log:
clean up: removing useless "applied" attribute

Modified:
    myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/msie_6_0/script/tobago.js

Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/msie_6_0/script/tobago.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/msie_6_0/script/tobago.js?rev=984802&r1=984801&r2=984802&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/msie_6_0/script/tobago.js
(original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/msie_6_0/script/tobago.js
Thu Aug 12 14:28:38 2010
@@ -37,14 +37,11 @@ Tobago.fixPngAlphaAll = function() {
 };
 
 Tobago.fixPngAlpha = function(element) {
-  if (element.fixPngAlphaApplied != "applied") {
-    element.fixPngAlphaApplied = "applied";
-    if (jQuery.browser.msie
-        && parseInt(jQuery.browser.version) <= 6
-        && element.src.toLowerCase().match(/.*png/)
-        && Tobago.isActiveXEnabled()) {
-      Tobago.fixPngAlphaInternal(element);
-    }
+  if (jQuery.browser.msie
+      && parseInt(jQuery.browser.version) <= 6
+      && element.src.toLowerCase().match(/.*png/)
+      && Tobago.isActiveXEnabled()) {
+    Tobago.fixPngAlphaInternal(element);
   }
 };
 



Mime
View raw message