File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -174,6 +174,14 @@ function getdata() {
174174 document . getElementById ( "nav-profile-tab" ) . classList . remove ( "active" ) ;
175175 document . getElementById ( "nav-contact-tab" ) . classList . remove ( "active" ) ;
176176
177+ document . getElementById ( "nav-home" ) . classList . add ( "active" ) ;
178+ document . getElementById ( "nav-profile" ) . classList . remove ( "active" ) ;
179+ document . getElementById ( "nav-contact" ) . classList . remove ( "active" ) ;
180+
181+ document . getElementById ( "nav-home" ) . classList . add ( "show" ) ;
182+ document . getElementById ( "nav-profile" ) . classList . remove ( "show" ) ;
183+ document . getElementById ( "nav-contact" ) . classList . remove ( "show" ) ;
184+
177185 console . log ( "inside success" ) ;
178186
179187 if ( json [ 'user not found' ] == 'user not found' ) {
You can’t perform that action at this time.
0 commit comments