This commit is contained in:
Nicolas Stepien 2012-02-29 19:24:20 +01:00
parent 6a006c8afe
commit 3de9684dba
2 changed files with 3 additions and 2 deletions

View File

@ -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) + ' '

View File

@ -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) + ' '