diff options
author | Peter Grassberger <petertheone@gmail.com> | 2016-05-07 00:27:58 (GMT) |
---|---|---|
committer | Peter Grassberger <petertheone@gmail.com> | 2016-05-07 00:27:58 (GMT) |
commit | dd7e48b1d9ad67a8d59b1779c1c9f3be9b2ed668 (patch) | |
tree | 447b8cc721f9e95297049984c2467cf1fdaf6979 /www/js/auth.js | |
parent | 0458e9929d687b571692e78d389ef9ab3f8ef4cd (diff) |
replace .html('') with .empty() and .html(...) with .text(...)
Diffstat (limited to 'www/js/auth.js')
-rw-r--r-- | www/js/auth.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/auth.js b/www/js/auth.js index 3931022..691a19e 100644 --- a/www/js/auth.js +++ b/www/js/auth.js @@ -61,7 +61,7 @@ Rdxport.AuthView = function(model) { Rdxport.AuthView.prototype.renderLoggedIn = function() { $('#loginbox').slideUp(); $('#mainwindow').fadeIn(); - $('#username-field').html(this.model.fullname + ' (' + this.model.username + ')'); + $('#username-field').text(this.model.fullname + ' (' + this.model.username + ')'); $('button.logout').off().on('click', function() { router.route('logout'); |