We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8560ec commit 5bb4423Copy full SHA for 5bb4423
1 file changed
public/js/extra.js
@@ -30,7 +30,8 @@ function updateLastChangeUser() {
30
if (lastchangeuser && lastchangeuserprofile) {
31
var icon = lastchangeui.user.children('i');
32
icon.attr('title', lastchangeuserprofile.name).tooltip('fixTitle');
33
- icon.attr('style', 'background-image:url(' + lastchangeuserprofile.photo + ')');
+ if (lastchangeuserprofile.photo)
34
+ icon.attr('style', 'background-image:url(' + lastchangeuserprofile.photo + ')');
35
lastchangeui.user.show();
36
lastchangeui.nouser.hide();
37
} else {
0 commit comments