summaryrefslogtreecommitdiff
path: root/www/js/auth.js
diff options
context:
space:
mode:
authorPeter Grassberger <petertheone@gmail.com>2016-05-07 00:27:58 (GMT)
committerPeter Grassberger <petertheone@gmail.com>2016-05-07 00:27:58 (GMT)
commitdd7e48b1d9ad67a8d59b1779c1c9f3be9b2ed668 (patch)
tree447b8cc721f9e95297049984c2467cf1fdaf6979 /www/js/auth.js
parent0458e9929d687b571692e78d389ef9ab3f8ef4cd (diff)
replace .html('') with .empty() and .html(...) with .text(...)
Diffstat (limited to 'www/js/auth.js')
-rw-r--r--www/js/auth.js2
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');