Changed the new messages separator location in the markup to be at the same level as the date seperator
Этот коммит содержится в:
@@ -444,13 +444,11 @@ module.exports = React.createClass({
|
|||||||
if (post.create_at > last_viewed && !rendered_last_viewed) {
|
if (post.create_at > last_viewed && !rendered_last_viewed) {
|
||||||
rendered_last_viewed = true;
|
rendered_last_viewed = true;
|
||||||
postCtls.push(
|
postCtls.push(
|
||||||
<div>
|
<div className="new-seperator">
|
||||||
<div className="new-seperator">
|
<hr id="new_message" className="new-seperator__hr" />
|
||||||
<hr id="new_message" className="new-seperator__hr" />
|
<div className="new-seperator__text">New Messages</div>
|
||||||
<div className="new-seperator__text">New Messages</div>
|
{postCtl}
|
||||||
</div>
|
</div>
|
||||||
{postCtl}
|
|
||||||
</div>
|
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
postCtls.push(postCtl);
|
postCtls.push(postCtl);
|
||||||
|
|||||||
@@ -716,7 +716,7 @@ Image.prototype.load = function(url, progressCallback) {
|
|||||||
m = h.match( /^Content-Type\:\s*(.*?)$/mi ),
|
m = h.match( /^Content-Type\:\s*(.*?)$/mi ),
|
||||||
mimeType = m[ 1 ] || 'image/png';
|
mimeType = m[ 1 ] || 'image/png';
|
||||||
|
|
||||||
var blob = new Blob([this.response], { type: mimeType });
|
var blob = new Blob([this.response.buffer], { type: mimeType });
|
||||||
thisImg.src = window.URL.createObjectURL(blob);
|
thisImg.src = window.URL.createObjectURL(blob);
|
||||||
};
|
};
|
||||||
xmlHTTP.onprogress = function(e) {
|
xmlHTTP.onprogress = function(e) {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user