aboutsummaryrefslogtreecommitdiff
path: root/public/js/auth.js
diff options
context:
space:
mode:
authorBobby Wibowo <[email protected]>2018-04-26 13:50:35 +0700
committerCrawl <[email protected]>2018-04-26 08:50:35 +0200
commit19e965a77a6e5040d2ca6ad3c9a565408c5910fe (patch)
tree5bb57a41e4ce20354ddc11e873c1467164ad2562 /public/js/auth.js
parentno-useless-return (#94) (diff)
downloadhost.fuwn.me-19e965a77a6e5040d2ca6ad3c9a565408c5910fe.tar.xz
host.fuwn.me-19e965a77a6e5040d2ca6ad3c9a565408c5910fe.zip
SEMICOLONS, ermahgerd (#93)
Diffstat (limited to 'public/js/auth.js')
-rw-r--r--public/js/auth.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/public/js/auth.js b/public/js/auth.js
index ecc7c7c..1ae9e4d 100644
--- a/public/js/auth.js
+++ b/public/js/auth.js
@@ -27,7 +27,7 @@ page.do = function(dest){
return swal('An error ocurred', 'There was an error with the request, please check the console for more information.', 'error');
console.log(error);
});
-}
+};
page.verify = function(){
page.token = localStorage.token;
@@ -49,8 +49,8 @@ page.verify = function(){
console.log(error);
});
-}
+};
window.onload = function () {
page.verify();
-} \ No newline at end of file
+}; \ No newline at end of file