mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Cleaned up frontend audio card player script
refs https://github.com/TryGhost/Team/issues/1230 - removes unnecessary use of src attribute in the script as the theme file is already loaded with the src
This commit is contained in:
parent
f272da0536
commit
4f52e28c04
1 changed files with 0 additions and 2 deletions
|
@ -31,8 +31,6 @@
|
|||
let raf = null;
|
||||
let currentPlaybackRateIdx = 1;
|
||||
|
||||
audio.src = audioElementContainer.getAttribute('data-kg-audio-src');
|
||||
|
||||
const whilePlaying = () => {
|
||||
seekSlider.value = Math.floor(audio.currentTime);
|
||||
currentTimeContainer.textContent = calculateTime(seekSlider.value);
|
||||
|
|
Loading…
Add table
Reference in a new issue