|
|
@ -221,7 +221,7 @@ $(document).ready(function(){ |
|
|
|
// Notify on all posts, not just the first unread
|
|
|
|
if (notify === "all") { |
|
|
|
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 n = new Notification("New reply to "+title, {body: $('<div/>').html(body).text()}); |
|
|
|
} |
|
|
|
if ($("div.post,div.thread").length > 1){ |
|
|
|
$(this).parent().insertBefore($($('div.post,div.thread').not('.post-hover').first()).parent()); |
|
|
|