Moved logout function in dedicated file

This commit is contained in:
Bryan committed 2019-06-02 09:31:04 +02:00
1 parent 04df25c00d
commit 7dd72e6b92
3 files changed
+4 -3

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
function logout ( ) {
window.location.href = script_name+"/logout";
}
-3
View File
@@ -39,6 +39,3 @@ function urlinsert() {
data.append('url', url);
xhr.send( data );
}
function logout ( ) {
window.location.href = script_name+"/logout";
}