From 13ef227e89c49f4a4ae40c524cad441971f84afc Mon Sep 17 00:00:00 2001 From: Pepper Date: Fri, 13 Feb 2015 04:01:18 -0500 Subject: calling it done for now --- js/username.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js/username.js') diff --git a/js/username.js b/js/username.js index 1222127..eb89ed0 100644 --- a/js/username.js +++ b/js/username.js @@ -23,8 +23,8 @@ function get_name_from_cookie() return "" }; -function update_username(data){ - if (data.username.length > 0){ - document.cookie = "imname="+data.username+";path=/;domain=.asdf.us;max-age=1086400" +function update_username(username){ + if (username.length > 0){ + document.cookie = "imname="+username+";path=/;domain=.asdf.us;max-age=1086400" } } -- cgit v1.2.3-70-g09d2