Split huge line

master
Daniel Berteaud 11 years ago
parent ceb3690e97
commit cdece954cf
  1. 5
      public/js/vroom.js

@ -548,7 +548,10 @@ function initVroom(room) {
// Add a new email address in the list of the ones notified when someone joins
function addNotifiedEmail(email){
var id = email.replace('@', '_AT_').replace('.', '_DOT_');
$('<li></li>').html(email + ' <a href="javascript:void(0);" onclick="removeNotifiedEmail(\'' + email + '\');"><span class="glyphicon glyphicon-remove-circle"></span></a>').attr('id', 'emailNotification_' + id)
$('<li></li>').html(email + ' <a href="javascript:void(0);" onclick="removeNotifiedEmail(\'' + email + '\');">' +
' <span class="glyphicon glyphicon-remove-circle"></span>' +
' </a>')
.attr('id', 'emailNotification_' + id)
.appendTo('#emailNotificationList');
}

Loading…
Cancel
Save