update dynamic reply
This commit is contained in:
parent
74099cb5f2
commit
fffe030fa2
@ -177,7 +177,7 @@ DynReply.prototype.setRoot = function(roothash) {
|
|||||||
function nntpchan_reply(prefix, parent, shorthash) {
|
function nntpchan_reply(prefix, parent, shorthash) {
|
||||||
if (prefix && parent) {
|
if (prefix && parent) {
|
||||||
var boardname = parent.getAttribute("boardname");
|
var boardname = parent.getAttribute("boardname");
|
||||||
var roothash = parent.getAttribute("roothash");
|
var roothash = parent.getAttribute("root");
|
||||||
var replyto = getReplyTo();
|
var replyto = getReplyTo();
|
||||||
// set target
|
// set target
|
||||||
replyto.setBoard(boardname);
|
replyto.setBoard(boardname);
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
<span class="subject">{{post.Subject}}</span>
|
<span class="subject">{{post.Subject}}</span>
|
||||||
<span class="name">{{post.Name}}</span>
|
<span class="name">{{post.Name}}</span>
|
||||||
<time datetime="{{post.DateRFC}}">{{post.Date}}</time>
|
<time datetime="{{post.DateRFC}}">{{post.Date}}</time>
|
||||||
<a href="#" class="postnol">No.</a><a class="postno" onclick="nntpchan_reply('{{post.Prefix}}', this, '{{post.ShortHash}}');" title="{{post.MessageID}}" roothash="{{post.ReferenceHash}}" boardname="{{post.Board}}">{{post.ShortHash}}</a>
|
<a href="#" class="postnol">No.</a><a class="postno" onclick="nntpchan_reply('{{post.Prefix}}', this, '{{post.ShortHash}}');" title="{{post.MessageID}}" root="{{post.Reference}}" boardname="{{post.Board}}">{{post.ShortHash}}</a>
|
||||||
<a href="{{post.PostURL}}">[{{#i18n.Translations}}{{reply_label}}{{/i18n.Translations}}]</a>
|
<a href="{{post.PostURL}}">[{{#i18n.Translations}}{{reply_label}}{{/i18n.Translations}}]</a>
|
||||||
<span class="tripcode">{{{post.Pubkey}}}</span>
|
<span class="tripcode">{{{post.Pubkey}}}</span>
|
||||||
</legend>
|
</legend>
|
||||||
|
Reference in New Issue
Block a user