mirror of
https://github.com/michivonah/click-guide.git
synced 2025-12-22 22:16:28 +01:00
Fixed issu #1: Pause/Stop is not displayed correctly
This commit is contained in:
parent
cd2de15b2b
commit
5b293c4105
1 changed files with 2 additions and 2 deletions
|
|
@ -38,7 +38,7 @@ function updateRecordingLabel(bool){
|
||||||
action: "guideLenght"
|
action: "guideLenght"
|
||||||
}, (response) => {
|
}, (response) => {
|
||||||
if(response.stepCount !== 0) startLabel = "Resume";
|
if(response.stepCount !== 0) startLabel = "Resume";
|
||||||
toggleRecordingBtn.textContent = bool ? "Pause/Stop" : startLabel;
|
toggleRecordingBtn.textContent = bool ? "Pause / Stop" : startLabel;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
catch(error){
|
catch(error){
|
||||||
|
|
@ -62,4 +62,4 @@ function exportJSON(object, filename){
|
||||||
|
|
||||||
// clear guide
|
// clear guide
|
||||||
chrome.runtime.sendMessage({action: "clearGuide"});
|
chrome.runtime.sendMessage({action: "clearGuide"});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue