Browse Source

Remove reference to unused var

pull/1934/head
Gabe Kangas 4 years ago committed by GitHub
parent
commit
1bc12da73a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      webroot/js/metrics/playback.js

2
webroot/js/metrics/playback.js

@ -267,10 +267,8 @@ function getCurrentlyPlayingSegment(tech, old_segment = null) { @@ -267,10 +267,8 @@ function getCurrentlyPlayingSegment(tech, old_segment = null) {
}
}
// Null segment_time in case it's lower then 0.
if (!segment) {
segment = target_media.segments[0];
segment_time = 0;
}
return segment;

Loading…
Cancel
Save