Remove logoff page
This commit is contained in:
@@ -149,8 +149,13 @@ function CATC(asGlobals)
|
||||
});
|
||||
});
|
||||
|
||||
//log Off
|
||||
$('#log-off').on('show.bs.modal', function(event) {
|
||||
document.cookie = self.consts.cookie+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC";
|
||||
location.href = self.consts.root;
|
||||
});
|
||||
|
||||
self.elem.$Menu.find('.home').click(function(){self.setHash(self.consts.default_page);});
|
||||
self.elem.$Menu.find('.logoff').click(function(){self.setHash('logoff');});
|
||||
self.elem.$Menu.slideDown('fast');
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user