Skip to content

Commit 038842a

Browse files
committed
added word cloud feature
1 parent abd1a77 commit 038842a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tsa_app/static/js/home.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff 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') {

0 commit comments

Comments
 (0)