diff options
-rw-r--r-- | layout/post.ejs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layout/post.ejs b/layout/post.ejs index 443274b..ffa49e6 100644 --- a/layout/post.ejs +++ b/layout/post.ejs @@ -66,7 +66,7 @@ const second = Math.floor(timestamp % 60); const viewstr = String(hour).padStart(2, '0') + ':' + String(minute).padStart(2, '0') + ':' + String(second).padStart(2, '0'); %> - <li class="is-family-monospace"><a href="#t=<%= viewstr %>" onclick="player.seek(<%= timestamp %>)"><%= viewstr %></a> <%= title %></li> + <li class="is-family-monospace"><a href="#t=<%= viewstr %>" onclick="eval('player.seek(<%= timestamp %>)')"><%= viewstr %></a> <%= title %></li> <% }); %> </ul> <% } %> |