fix timeago on search items, and bring back app display for wall items - which took a bit of re-arranging of a lot of other stuff
This commit is contained in:
12
js/main.js
12
js/main.js
@@ -353,7 +353,7 @@ function updateConvItems(mode,data) {
|
||||
$(this).attr('src',$(this).attr('dst'));
|
||||
});
|
||||
$('#' + prev).after($(this));
|
||||
$("div.wall-item-ago").timeago();
|
||||
$(".autotime").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.
|
||||
@@ -365,7 +365,7 @@ function updateConvItems(mode,data) {
|
||||
$(this).attr('src',$(this).attr('dst'));
|
||||
});
|
||||
$('#' + ident).replaceWith($(this));
|
||||
$("div.wall-item-ago").timeago();
|
||||
$(".autotime").timeago();
|
||||
// $("div.wall-item-body").divgrow({ initialHeight: 400 });
|
||||
|
||||
}
|
||||
@@ -382,7 +382,7 @@ function updateConvItems(mode,data) {
|
||||
$(this).attr('src',$(this).attr('dst'));
|
||||
});
|
||||
$('#threads-end').before($(this));
|
||||
$("div.wall-item-ago").timeago();
|
||||
$(".autotime").timeago();
|
||||
// $("div.wall-item-body").divgrow({ initialHeight: 400 });
|
||||
|
||||
}
|
||||
@@ -391,7 +391,7 @@ function updateConvItems(mode,data) {
|
||||
$(this).attr('src',$(this).attr('dst'));
|
||||
});
|
||||
$('#' + ident).replaceWith($(this));
|
||||
$("div.wall-item-ago").timeago();
|
||||
$(".autotime").timeago();
|
||||
// $("div.wall-item-body").divgrow({ initialHeight: 400 });
|
||||
}
|
||||
});
|
||||
@@ -410,7 +410,7 @@ function updateConvItems(mode,data) {
|
||||
$(this).attr('src',$(this).attr('dst'));
|
||||
});
|
||||
$('#' + prev).after($(this));
|
||||
$("div.wall-item-ago").timeago();
|
||||
$(".autotime").timeago();
|
||||
|
||||
// $("div.wall-item-body").divgrow({ initialHeight: 400 });
|
||||
}
|
||||
@@ -893,7 +893,7 @@ jQuery.timeago.settings.strings = {
|
||||
};
|
||||
|
||||
|
||||
$("div.wall-item-ago").timeago();
|
||||
$(".autotime").timeago();
|
||||
//$("div.wall-item-body").divgrow({ initialHeight: 400 });
|
||||
|
||||
//reCalcHeight();
|
||||
|
||||
Reference in New Issue
Block a user