Skip to content

Commit 1e7793b

Browse files
committed
logout now shows login when not yet loged in for the first time
1 parent 3edc172 commit 1e7793b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

client/scripts/main.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ var PD = window.PD = {
3535
}
3636
if(storage.getItem('student-id')){
3737
window['lougout_btn'].innerHTML = "Logout as "+storage.getItem('student-id')
38+
} else {
39+
window['lougout_btn'].innerHTML = "Login"
3840
}
3941
},
4042
sendActivity: function sendActivity(activity) {

0 commit comments

Comments
 (0)