Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bosscheng committed May 11, 2024
1 parent 13359ad commit 5426158
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/jessibuca.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions src/control/observer.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ export default (player, control) => {
setStyle(control.$record, 'display', player.recording ? 'none' : 'flex');
setStyle(control.$recordStop, 'display', player.recording ? 'flex' : 'none');
setStyle(control.$recording, 'display', player.recording ? 'flex' : 'none')
if(!player.recording && control.$recordingTime){
control.$recordingTime.innerHTML = formatTimeTips(0);
}
})

//
Expand Down

0 comments on commit 5426158

Please sign in to comment.