mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-12 17:21:39 -04:00
Fix Travis CI fail issues
Travis CI was failing tests due to syntactical errors; fixed the errors (indentation with 4 spaces, etc).
This commit is contained in:
parent
5e05c59a5a
commit
1a906b00e7
1 changed files with 9 additions and 10 deletions
|
@ -630,18 +630,17 @@ class RecipeWaiter {
|
|||
|
||||
// Hide recipe controls when output is maximised
|
||||
if (document.getElementById("i") === "fullscreen") {
|
||||
document.getElementById("controls").style.display = "none";
|
||||
}
|
||||
else {
|
||||
// Show recipe controls if they are not already shown
|
||||
document.getElementById("controls").style.display = "inherit";
|
||||
document.getElementById("controls").style.display = "none";
|
||||
} else {
|
||||
// Show recipe controls if they are not already shown
|
||||
document.getElementById("controls").style.display = "inherit";
|
||||
|
||||
// Scale controls to fit pane width
|
||||
const controls = document.getElementById("controls");
|
||||
const controlsContent = document.getElementById("controls-content");
|
||||
const scale = (controls.clientWidth - 1) / controlsContent.scrollWidth;
|
||||
// Scale controls to fit pane width
|
||||
const controls = document.getElementById("controls");
|
||||
const controlsContent = document.getElementById("controls-content");
|
||||
const scale = (controls.clientWidth - 1) / controlsContent.scrollWidth;
|
||||
|
||||
controlsContent.style.transform = `translate(-50%, -50%) scale(${scale})`;
|
||||
controlsContent.style.transform = `translate(-50%, -50%) scale(${scale})`;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue