diff --git a/js/auto-reload.js b/js/auto-reload.js
index 7908af45..10f2f0f5 100644
--- a/js/auto-reload.js
+++ b/js/auto-reload.js
@@ -49,9 +49,8 @@ $(document).ready(function(){
var end_of_page = false;
- var new_posts = 0;
- var first_new_post = null;
-
+ var new_posts = 0;
+
var title = document.title;
if (typeof update_title == "undefined") {
@@ -112,7 +111,6 @@ $(document).ready(function(){
new_posts = 0;
}
update_title();
- first_new_post = null;
};
// automatically updates the thread after a specified delay
@@ -153,8 +151,18 @@ $(document).ready(function(){
var id = $(this).attr('id');
if($('#' + id).length == 0) {
if (!new_posts) {
+<<<<<<< HEAD
first_new_post = this;
}
+=======
+ makeIcon('reply');
+ }
+ if (notify === "all" || (notify === "mention" && $(this).find('.own_post').length)) {
+ var body = $(this).children('.body').html().replace(/
/gi, "\n");
+ var n = new Notification("New reply to "+$('title').text(), {body: $('