more fixes to noscript

v1.18.x
Julian Lam 12 years ago
parent 3ed9e1dd51
commit 0a8c43901d

@ -1,6 +1,7 @@
<ul class="posts"> <ul class="posts">
<!-- BEGIN main_posts --> <!-- BEGIN main_posts -->
<li> <li>
<a name="{main_posts.pid}"></a>
<div class="row"> <div class="row">
<div class="col-lg-2 profile"> <div class="col-lg-2 profile">
<img class="img-thumbnail" src="{main_posts.picture}" /><br /> <img class="img-thumbnail" src="{main_posts.picture}" /><br />
@ -14,6 +15,7 @@
<!-- END main_posts --> <!-- END main_posts -->
<!-- BEGIN posts --> <!-- BEGIN posts -->
<li> <li>
<a name="{posts.pid}"></a>
<div class="row"> <div class="row">
<div class="col-lg-2 profile"> <div class="col-lg-2 profile">
<img class="img-thumbnail" src="{posts.picture}" /><br /> <img class="img-thumbnail" src="{posts.picture}" /><br />

@ -235,7 +235,8 @@ var express = require('express'),
}); });
}, },
function(topicData, next) { function(topicData, next) {
var lastMod = 0, var posts = topicData.posts.push(topicData.main_posts[0]),
lastMod = 0,
timestamp; timestamp;
for(var x=0,numPosts=topicData.posts.length;x<numPosts;x++) { for(var x=0,numPosts=topicData.posts.length;x<numPosts;x++) {

Loading…
Cancel
Save