lib/jschat/http/public/javascripts/app/models/user.js in jschat-0.3.3 vs lib/jschat/http/public/javascripts/app/models/user.js in jschat-0.3.5
- old
+ new
@@ -4,10 +4,9 @@
};
User.prototype.setName = function(name) {
Cookie.create('jschat-name', name, 28, '/');
this.name = name;
- $('name').innerHTML = name;
};
User.prototype.setHideImages = function(hideImages) {
this.hideImages = hideImages;
Cookie.create('jschat-hideImages', (hideImages ? '1' : '0'), 28, '/');