[ticket/11516] Upgrading the .live jquery function because it's depricated

I changed the .live function of jQuery for .on function because a user reported that he had an error because of that, it showed that .live function was depricated, so I changed for .on that it's same but it work with new jQuery versions.

PHPBB3-11516