Skip to content
Snippets Groups Projects
Commit bc9d90ed authored by Jean-Marie PRIGENT's avatar Jean-Marie PRIGENT
Browse files

another test to update border color (theme)

parent dbba2d9b
No related branches found
No related tags found
No related merge requests found
......@@ -88,12 +88,11 @@ function gotResult(error, results) {
document.body.style.backgroundImage = "linear-gradient(315deg, #00b712 0%, #5aff15 74%)";
}
if (label === "nail-biting"){
document.head.querySelector("meta[name=theme-color]").setAttribute("content", "#ff416c");
// document.head.querySelector("meta[name=theme-color]").setAttribute("content", "#ff416c");
document.body.style.backgroundColor = "#ff416c";
document.body.style.backgroundImage = "linear-gradient(to right, #ff416c, #ff4b2b)";
// Play sound trigger
notifyAudio.play();
}
// Classifiy again!
classifyVideo();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment