live -> on

pull/1/head
Jörn Friedrich Dreyer 11 years ago committed by Tobias Hintze
parent d8aa4db390
commit e03cfb068c

@ -175,10 +175,11 @@ $(document).ready(function() {
officeMain.startSession($(this).attr('data-file')); officeMain.startSession($(this).attr('data-file'));
} }
}); });
$('#odf_close').live('click', officeMain.onClose);
$('#odf_invite').live('click', officeMain.onInvite); $('#content').on('click', '#odf_close', officeMain.onClose);
$('#invite-send').live('click', officeMain.sendInvite); $('#content').on('click', '#odf_invite', officeMain.onInvite);
$('#invitee-list li').live('click', function(){ $('#content').on('click', '#invite-send', officeMain.sendInvite);
$('#content').on('click', '#invitee-list li', function(){
$(this).remove(); $(this).remove();
}); });

Loading…
Cancel
Save