1
0
mirror of https://github.com/elisspace/AskAssist.git synced 2026-08-29 15:33:47 +00:00

color adjustments for added visibility

This commit is contained in:
Jeremy Dixon
2021-08-08 13:02:22 -05:00
parent 88d9029c1b
commit 523ab0f053
3 changed files with 16 additions and 2 deletions

View File

@@ -154,8 +154,10 @@ function appendTool(html){
let watching = document.querySelector('#watching');
let waitBrach = document.querySelector('#waiting-branch');
let watchBrach = document.querySelector('#watching-branch');
let toolbarDiv = document.querySelector('#toolbar');
let volume = document.querySelector('#volume');
waiting.addEventListener('click', function(){
toolbarDiv.classList = "watching";
waitBrach.style.display = "none";
watchBrach.style.display = "inline";
timer = setInterval(function(){
@@ -168,6 +170,7 @@ function appendTool(html){
return timer;
});
watching.addEventListener('click', function(){
toolbarDiv.classList = "waiting";
waitBrach.style.display = "inline";
watchBrach.style.display = "none";
clearInterval(timer);