forked from GNUsocial/gnu-social
Hide context entries in threaded lists; it's redundant (and if there's more than a few messages, we have the context link still :D)
Also hides them via CSS for new ajax additions
This commit is contained in:
parent
082ddf365e
commit
35ce314bfb
@ -147,6 +147,11 @@ class ThreadedNoticeListItem extends NoticeListItem
|
|||||||
{
|
{
|
||||||
const INITIAL_ITEMS = 3;
|
const INITIAL_ITEMS = 3;
|
||||||
|
|
||||||
|
function showContext()
|
||||||
|
{
|
||||||
|
// Silence!
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* finish the notice
|
* finish the notice
|
||||||
*
|
*
|
||||||
@ -211,6 +216,11 @@ class ThreadedNoticeListSubItem extends NoticeListItem
|
|||||||
{
|
{
|
||||||
//
|
//
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function showContext()
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1136,6 +1136,11 @@ border-top-style:solid;
|
|||||||
.threaded-notices .notice-reply-comments {
|
.threaded-notices .notice-reply-comments {
|
||||||
margin: 8px;
|
margin: 8px;
|
||||||
}
|
}
|
||||||
|
.threaded-notices .response,
|
||||||
|
.threaded-notices .source {
|
||||||
|
/* Hide these for ajax/realtime sourced notices */
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
/* NOTICES */
|
/* NOTICES */
|
||||||
#notices_primary {
|
#notices_primary {
|
||||||
float:left;
|
float:left;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user