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