summaryrefslogtreecommitdiff
path: root/javascript/libs
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2008-05-02 20:47:14 +0000
committerwjames5 <will@tekimaki.com>2008-05-02 20:47:14 +0000
commited5283d11011ea5f4e18567674c3d05646f854b2 (patch)
treeb44e63d97a45a666cb8e8e376dd391632151f4ab /javascript/libs
parent2c5d1cfcd1e0088b33a1d33b21c713a594dad868 (diff)
downloadutil-ed5283d11011ea5f4e18567674c3d05646f854b2.tar.gz
util-ed5283d11011ea5f4e18567674c3d05646f854b2.tar.bz2
util-ed5283d11011ea5f4e18567674c3d05646f854b2.zip
js is not smart, paren the or clauseR202
Diffstat (limited to 'javascript/libs')
-rw-r--r--javascript/libs/tabpane.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/javascript/libs/tabpane.js b/javascript/libs/tabpane.js
index 0eafe28..b1dfe4d 100644
--- a/javascript/libs/tabpane.js
+++ b/javascript/libs/tabpane.js
@@ -1,4 +1,4 @@
-// $Header: /cvsroot/bitweaver/_bit_util/javascript/libs/tabpane.js,v 1.15 2008/03/25 23:19:51 nickpalmer Exp $
+// $Header: /cvsroot/bitweaver/_bit_util/javascript/libs/tabpane.js,v 1.16 2008/05/02 20:47:14 wjames5 Exp $
//-------------------------------------------------------------------------
// Tab Pane 1.02
@@ -106,7 +106,7 @@ function WebFXTabPane( el, bUseCookie ) {
var cs = el.childNodes;
var n;
for (var i = 0; i < cs.length; i++) {
- if (cs[i].nodeType == 1 && cs[i].className == "tabpage" || cs[i].className.substr(0,8) == "tabpage ") {
+ if (cs[i].nodeType == 1 && ( cs[i].className == "tabpage" || cs[i].className.substr(0,8) == "tabpage ") ) {
this.addTabPage( cs[i] );
}
}
@@ -207,7 +207,7 @@ function WebFXTabPage( el, tabPane, nIndex ) {
var cs = el.childNodes;
for (var i = 0; i < cs.length; i++) {
- if (cs[i].nodeType == 1 && cs[i].className == "tab" || cs[i].className.substr(0,4) == "tab ") {
+ if (cs[i].nodeType == 1 && ( cs[i].className == "tab" || cs[i].className.substr(0,4) == "tab ") ) {
this.tab = cs[i];
break;
}