fix timeago updates, reset unseen counts on channel page, don't set nav selected on profile page
This commit is contained in:
12
js/main.js
12
js/main.js
@@ -330,7 +330,7 @@ function updateConvItems(mode,data) {
|
||||
$(this).attr('src',$(this).attr('dst'));
|
||||
});
|
||||
$('#' + prev).after($(this));
|
||||
$("abbr.wall-item-ago-time").timeago();
|
||||
$("div.wall-item-ago-time").timeago();
|
||||
// divgrow doesn't prevent itself from attaching a second (or 500th)
|
||||
// "show more" div to a content region - it also has a few other
|
||||
// issues related to how we're trying to use it.
|
||||
@@ -342,7 +342,7 @@ function updateConvItems(mode,data) {
|
||||
$(this).attr('src',$(this).attr('dst'));
|
||||
});
|
||||
$('#' + ident).replaceWith($(this));
|
||||
$("abbr.wall-item-ago-time").timeago();
|
||||
$("div.wall-item-ago-time").timeago();
|
||||
// $("div.wall-item-body").divgrow({ initialHeight: 400 });
|
||||
|
||||
}
|
||||
@@ -359,7 +359,7 @@ function updateConvItems(mode,data) {
|
||||
$(this).attr('src',$(this).attr('dst'));
|
||||
});
|
||||
$('#threads-end').before($(this));
|
||||
$("abbr.wall-item-ago-time").timeago();
|
||||
$("div.wall-item-ago-time").timeago();
|
||||
// $("div.wall-item-body").divgrow({ initialHeight: 400 });
|
||||
|
||||
}
|
||||
@@ -368,7 +368,7 @@ function updateConvItems(mode,data) {
|
||||
$(this).attr('src',$(this).attr('dst'));
|
||||
});
|
||||
$('#' + ident).replaceWith($(this));
|
||||
$("abbr.wall-item-ago-time").timeago();
|
||||
$("div.wall-item-ago-time").timeago();
|
||||
// $("div.wall-item-body").divgrow({ initialHeight: 400 });
|
||||
}
|
||||
});
|
||||
@@ -387,7 +387,7 @@ function updateConvItems(mode,data) {
|
||||
$(this).attr('src',$(this).attr('dst'));
|
||||
});
|
||||
$('#' + prev).after($(this));
|
||||
$("abbr.wall-item-ago-time").timeago();
|
||||
$("div.wall-item-ago-time").timeago();
|
||||
|
||||
// $("div.wall-item-body").divgrow({ initialHeight: 400 });
|
||||
}
|
||||
@@ -884,7 +884,7 @@ jQuery.timeago.settings.strings = {
|
||||
};
|
||||
|
||||
|
||||
$("abbr.wall-item-ago-time").timeago();
|
||||
$("div.wall-item-ago-time").timeago();
|
||||
//$("div.wall-item-body").divgrow({ initialHeight: 400 });
|
||||
|
||||
//reCalcHeight();
|
||||
|
||||
Reference in New Issue
Block a user