mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-22 07:46:16 -04:00
Fixed the snackbar
This commit is contained in:
parent
771a013c9f
commit
ff45f61b68
5 changed files with 14 additions and 4 deletions
|
@ -107,4 +107,4 @@
|
|||
background-image:
|
||||
linear-gradient(to top, var(--input-highlight-colour) 2px, rgba(0, 0, 0, 0) 2px),
|
||||
linear-gradient(to top, var(--primary-border-colour) 1px, rgba(0, 0, 0, 0) 1px);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -111,7 +111,7 @@ class StatusBarPanel {
|
|||
*/
|
||||
chrEncSelectClick(e) {
|
||||
// preventDefault is required to stop the URL being modified and popState being triggered
|
||||
e.preventDefault(); // TODO - this breaks the menus when you click the button itself
|
||||
e.preventDefault();
|
||||
|
||||
const chrEncVal = parseInt(e.target.getAttribute("data-val"), 10);
|
||||
|
||||
|
|
|
@ -1274,7 +1274,7 @@ class OutputWaiter {
|
|||
* Handler for copy click events.
|
||||
* Copies the output to the clipboard
|
||||
*/
|
||||
async copyClick() { // TODO - do we need this?
|
||||
async copyClick() {
|
||||
const dish = this.getOutputDish(this.manager.tabs.getActiveTab("output"));
|
||||
if (dish === null) {
|
||||
this.app.alert("Could not find data to copy. Has this output been baked yet?", 3000);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue