Author: vsiveton
Date: Mon Mar 30 21:36:16 2009
New Revision: 760190
URL: http://svn.apache.org/viewvc?rev=760190&view=rev
Log:
o merged in r760188
Modified:
incubator/shindig/branches/1.0.x-incubating/features/tabs/tabs.js
Modified: incubator/shindig/branches/1.0.x-incubating/features/tabs/tabs.js
URL:
http://svn.apache.org/viewvc/incubator/shindig/branches/1.0.x-incubating/features/tabs/tabs.js?rev=760190&r1=760189&r2=760190&view=diff
==============================================================================
--- incubator/shindig/branches/1.0.x-incubating/features/tabs/tabs.js (original)
+++ incubator/shindig/branches/1.0.x-incubating/features/tabs/tabs.js Mon Mar
30 21:36:16 2009
@@ -503,7 +503,10 @@
this.leftNavContainer_.style.display = 'none';
this.rightNavContainer_.style.display = 'none';
if (this.tabsContainer_.scrollWidth <= this.tabsContainer_.offsetWidth) {
- this.tabsContainer_.scrollLeft = 0;
+ if(this.tabsContainer_.scrollLeft) {
+ // to avoid JS error in IE
+ this.tabsContainer_.scrollLeft = 0;
+ }
return;
}