Browse Source

Remove tab has after logout

CauseFX 6 years ago
parent
commit
b0b44b4164
1 changed files with 1 additions and 0 deletions
  1. 1 0
      js/functions.js

+ 1 - 0
js/functions.js

@@ -446,6 +446,7 @@ function logout(){
         }
         }
 		if(html.data == true){
 		if(html.data == true){
             local('set','message','Goodbye|Logout Successful|success');
             local('set','message','Goodbye|Logout Successful|success');
+            history.replaceState(null, null, ' ');
 			location.reload();
 			location.reload();
 		}else{
 		}else{
 			message('Logout Error',' An Error Occured',activeInfo.settings.notifications.position,'#FFF','warning','10000');
 			message('Logout Error',' An Error Occured',activeInfo.settings.notifications.position,'#FFF','warning','10000');