Fix the username icon hcih was not working anymore

pull/1/head
yflory 8 years ago
parent 8575f3f79f
commit c322aa440e

@ -743,7 +743,7 @@ define([
'class': "fa fa-user",
style: 'font:'+size+' FontAwesome'
});
if (data && data.lastName && callback) {
if (data && typeof data.lastName !== "undefined" && callback) {
var lastName = data.lastName;
button.click(function() {
common.prompt(Messages.changeNamePrompt, lastName, function (newName) {

Loading…
Cancel
Save