Fix inlining of hidden posts. Styling fixes of inlined posts.
This commit is contained in:
parent
075568e4d7
commit
02bf6efd1c
@ -3149,12 +3149,14 @@
|
|||||||
return $.replace(inline, newInline);
|
return $.replace(inline, newInline);
|
||||||
},
|
},
|
||||||
clone: function(id, el) {
|
clone: function(id, el) {
|
||||||
var clone, node, _i, _len, _ref;
|
var clone, node, post, _i, _len, _ref;
|
||||||
clone = $.el('div', {
|
clone = $.el('div', {
|
||||||
className: 'postContainer inline',
|
className: 'postContainer inline',
|
||||||
id: "i_pc" + id
|
id: "i_pc" + id
|
||||||
});
|
});
|
||||||
$.add(clone, el.cloneNode(true));
|
post = el.cloneNode(true);
|
||||||
|
post.hidden = false;
|
||||||
|
$.add(clone, post);
|
||||||
_ref = $$('[id]', clone);
|
_ref = $$('[id]', clone);
|
||||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||||
node = _ref[_i];
|
node = _ref[_i];
|
||||||
@ -4518,13 +4520,16 @@ div.opContainer {\
|
|||||||
opacity: .5;\
|
opacity: .5;\
|
||||||
}\
|
}\
|
||||||
.inline {\
|
.inline {\
|
||||||
overflow: hidden;\
|
|
||||||
background-color: rgba(255, 255, 255, 0.15);\
|
background-color: rgba(255, 255, 255, 0.15);\
|
||||||
border: 1px solid rgba(128, 128, 128, 0.5);\
|
border: 1px solid rgba(128, 128, 128, 0.5);\
|
||||||
|
display: table;\
|
||||||
|
margin: 2px;\
|
||||||
}\
|
}\
|
||||||
.inline .post {\
|
.inline .post {\
|
||||||
background: none;\
|
background: none;\
|
||||||
border: none;\
|
border: none;\
|
||||||
|
margin: 0;\
|
||||||
|
padding: 0;\
|
||||||
}\
|
}\
|
||||||
.filter_highlight.thread > .opContainer {\
|
.filter_highlight.thread > .opContainer {\
|
||||||
box-shadow: inset 5px 0 rgba(255,0,0,0.5);\
|
box-shadow: inset 5px 0 rgba(255,0,0,0.5);\
|
||||||
|
|||||||
@ -2401,7 +2401,9 @@ QuoteInline =
|
|||||||
clone = $.el 'div',
|
clone = $.el 'div',
|
||||||
className: 'postContainer inline'
|
className: 'postContainer inline'
|
||||||
id: "i_pc#{id}"
|
id: "i_pc#{id}"
|
||||||
$.add clone, el.cloneNode true
|
post = el.cloneNode true
|
||||||
|
post.hidden = false
|
||||||
|
$.add clone, post
|
||||||
for node in $$ '[id]', clone
|
for node in $$ '[id]', clone
|
||||||
# Don't mess with other features
|
# Don't mess with other features
|
||||||
node.id = "i_#{node.id}"
|
node.id = "i_#{node.id}"
|
||||||
@ -3516,13 +3518,16 @@ div.opContainer {
|
|||||||
opacity: .5;
|
opacity: .5;
|
||||||
}
|
}
|
||||||
.inline {
|
.inline {
|
||||||
overflow: hidden;
|
|
||||||
background-color: rgba(255, 255, 255, 0.15);
|
background-color: rgba(255, 255, 255, 0.15);
|
||||||
border: 1px solid rgba(128, 128, 128, 0.5);
|
border: 1px solid rgba(128, 128, 128, 0.5);
|
||||||
|
display: table;
|
||||||
|
margin: 2px;
|
||||||
}
|
}
|
||||||
.inline .post {
|
.inline .post {
|
||||||
background: none;
|
background: none;
|
||||||
border: none;
|
border: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
.filter_highlight.thread > .opContainer {
|
.filter_highlight.thread > .opContainer {
|
||||||
box-shadow: inset 5px 0 rgba(255,0,0,0.5);
|
box-shadow: inset 5px 0 rgba(255,0,0,0.5);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user