|
|
@ -242,8 +242,8 @@ $(document).ready(function(){ |
|
|
|
makeIcon('reply'); |
|
|
|
} |
|
|
|
if (notify === "all" || (notify === "mention" && $(this).find('.own_post').length)) { |
|
|
|
var body = $(this).children('.body').html().replace(/<br\s*[\/]?>/gi, "\n"); |
|
|
|
var n = new Notification("New reply to "+$('title').text(), {body: $('<div/>').html(body).text()}); |
|
|
|
var body = $(this).children('.body').html().replace(/<br\s*[\/]?>/gi, "\n"); |
|
|
|
var n = new Notification("New reply to "+title, {body: $('<div/>').html(body).text()}); |
|
|
|
} |
|
|
|
if ($("div.post").length > 1){ |
|
|
|
$(this).insertAfter($('div.post:not(.post-hover):last').next()).after('<br class="clear">'); |
|
|
|