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:
parent
e7d418d559
commit
42c0af725d
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue