Fix #296.
This commit is contained in:
parent
6a006c8afe
commit
3de9684dba
@ -2840,7 +2840,7 @@
|
|||||||
node: function(root) {
|
node: function(root) {
|
||||||
var node, time;
|
var node, time;
|
||||||
if (root.className === 'inline') return;
|
if (root.className === 'inline') return;
|
||||||
node = $('.posttime', root);
|
node = $('.posttime', root) || $('span[id]', root).previousSibling;
|
||||||
Time.date = Time.parse(node);
|
Time.date = Time.parse(node);
|
||||||
time = $.el('time', {
|
time = $.el('time', {
|
||||||
textContent: ' ' + Time.funk(Time) + ' '
|
textContent: ' ' + Time.funk(Time) + ' '
|
||||||
|
|||||||
@ -2338,7 +2338,8 @@ Time =
|
|||||||
g.callbacks.push @node
|
g.callbacks.push @node
|
||||||
node: (root) ->
|
node: (root) ->
|
||||||
return if root.className is 'inline'
|
return if root.className is 'inline'
|
||||||
node = $ '.posttime', root
|
# .posttime exists on every board except /f/
|
||||||
|
node = $('.posttime', root) or $('span[id]', root).previousSibling
|
||||||
Time.date = Time.parse node
|
Time.date = Time.parse node
|
||||||
time = $.el 'time',
|
time = $.el 'time',
|
||||||
textContent: ' ' + Time.funk(Time) + ' '
|
textContent: ' ' + Time.funk(Time) + ' '
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user