Browse Source

edit sttabs for reflect more than just settings tabs

CauseFX 6 years ago
parent
commit
b998258f6c
1 changed files with 5 additions and 1 deletions
  1. 5 1
      js/cbpFWTabs.js

+ 5 - 1
js/cbpFWTabs.js

@@ -40,7 +40,11 @@
 		// current index
 		this.current = -1;
 		// show current content item
-		this._show(5);
+        if(this.tabs[0].innerHTML.indexOf('#settings') >= 0){
+            this._show(5);
+        }else{
+            this._show();
+        }
 		// init events
 		this._initEvents();
 	};