diff --git a/public/views/transport.ejs b/public/views/transport.ejs index 08b556f..3b9c713 100644 --- a/public/views/transport.ejs +++ b/public/views/transport.ejs @@ -1,11 +1,11 @@ -<% if (status.attr('time')) { %> -
-
<%= formatLength(status.attr('time')[0]) %>
-
<%= formatLength(status.attr('time')[1]) %>
-
-
+<% if (status.attr('state') == 'play' || status.attr('state') == 'pause') { %> +
+
<%= formatLength(status.attr('time')[0]) %>
+
-<%= formatLength(status.attr('time')[1] - status.attr('time')[0]) %>
+
+
+
-
<% } %>