Skip to content

Commit

Permalink
[K8sBroadcaster] Fix record button
Browse files Browse the repository at this point in the history
  • Loading branch information
mickel8 committed Jan 20, 2025
1 parent 584194b commit dfc4173
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions k8s_broadcaster/assets/js/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -546,8 +546,8 @@ function startRecording(view) {
freezeDurationTS: new TimeSeries(maxPoints),
};

view.record.onclick = () => stopRecording(view);
view.record.innerText = "Stop recording";
view.recordBtn.onclick = () => stopRecording(view);
view.recordBtn.innerText = "Stop recording";
}

function stopRecording(view) {
Expand Down Expand Up @@ -585,8 +585,8 @@ function stopRecording(view) {

view.recorder = {};

view.record.onclick = () => startRecording(view);
view.record.innerText = "Record";
view.recordBtn.onclick = () => startRecording(view);
view.recordBtn.innerText = "Record";
}

function zip(...arrays) {
Expand Down

0 comments on commit dfc4173

Please sign in to comment.