lint compliance

This commit is contained in:
yflory
2019-05-23 15:51:50 +02:00
parent 7666a008d7
commit caf36cb3bf
3 changed files with 5 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ define([
// Display the notification
$(el).find('.cp-notification-content').addClass("cp-clickable");
$(el).find('.cp-notification-content p')
.html(Messages._getKey('friendRequest_notification', [msg.content.displayName])
.html(Messages._getKey('friendRequest_notification', [msg.content.displayName]))
.click(function () {
UIElements.displayFriendRequestModal(common, data);
});
@@ -29,7 +29,7 @@ define([
var content = data.content;
var msg = content.msg;
$(el).find('.cp-notification-content p')
.html(Messages._getKey('friendRequest_accepted', [msg.content.displayName])
.html(Messages._getKey('friendRequest_accepted', [msg.content.displayName]));
$(el).find('.cp-notification-dismiss').css('display', 'flex');
};
@@ -37,7 +37,7 @@ define([
var content = data.content;
var msg = content.msg;
$(el).find('.cp-notification-content p')
.html(Messages._getKey('friendRequest_declined', [msg.content.displayName])
.html(Messages._getKey('friendRequest_declined', [msg.content.displayName]));
$(el).find('.cp-notification-dismiss').css('display', 'flex');
};