diff --git a/js/post-hover.js b/js/post-hover.js
index e5bb61d7..7be1c155 100644
--- a/js/post-hover.js
+++ b/js/post-hover.js
@@ -181,12 +181,12 @@ onready(function(){
return (i === 0) ? bytes +' '+ sizes[i] : (bytes / Math.pow(1024, i)).toFixed(2) +' ' +sizes[i];
};
- var time = (!localStorage.show_relative_time || localStorage.show_relative_time === 'false') ? dateformat(new Date(data.time)) : timeDifference(Date.now(), data.time);
+ var time = (!localStorage.show_relative_time || localStorage.show_relative_time === 'false') ? dateformat(new Date(data.time*1000)) : timeDifference(Date.now(), data.time*1000);
var $post = $('
')
.append($('
')
.append('
'+ data.name +' ')
- .append('
')
- .append('
No.'+ data.no +'')
+ .append('
')
+ .append('
No.'+ data.no +'')
)
.append($('
')
.html(data.com)
@@ -198,6 +198,7 @@ onready(function(){
if ('trip' in data) $post.find('.name').after('
'+ data.trip +'');
if ('capcode' in data) $post.find('.post_no').before('
## '+ data.capcode +'');
if ('id' in data) $post.find('.post_no').before('
'+ data.id +'');
+ if ('embed' in data) $post.find('p.intro').after(data.embed);
if ('filename' in data) {
var $files = $('
');
@@ -260,10 +261,6 @@ onready(function(){
$post.children('p.intro').after($files);
- // youtube embed
- if ('embed' in data) {
- $post.children('p.intro').after(data.embed);
- }
}
var mythreadid = (data.resto !== 0) ? data.resto : data.no;