1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-26 03:30:48 +03:00

Fixes #744 Fix talk favourite

This commit is contained in:
Denis Shakhov 2016-04-03 22:58:01 +07:00
parent e7d418d559
commit 42c0af725d

View file

@ -394,6 +394,13 @@ jQuery(document).ready(function($){
}
});
// Добавление в избранное на странице диалога
$('.js-talk-message-root-favourite').on('click', function (event) {
if (event.target == event.currentTarget) {
$(this).find('.js-favourite-talk').lsFavourite('toggle');
}
});
// Комментарии
$('.js-comments-talk').lsComments({
urls: {