Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
sravan-abacus committed Dec 12, 2024
1 parent 2ffc8c9 commit d031257
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
1 change: 1 addition & 0 deletions app/styles/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ html {

/* Edge misrenders animations wihthout this */
transform: translateX(0);
display: none;
}
:root.noVNC_connected #noVNC_control_bar_anchor.noVNC_idle {
opacity: 0.8;
Expand Down
16 changes: 1 addition & 15 deletions app/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -1764,21 +1764,7 @@ const UI = {
},

bell(e) {
if (UI.getSetting('bell') === 'on') {
const promise = document.getElementById('noVNC_bell').play();
// The standards disagree on the return value here
if (promise) {
promise.catch((e) => {
if (e.name === "NotAllowedError") {
// Ignore when the browser doesn't let us play audio.
// It is common that the browsers require audio to be
// initiated from a user action.
} else {
Log.Error("Unable to play bell: " + e);
}
});
}
}
// Do nothing
},

//Helper to add options to dropdown.
Expand Down

0 comments on commit d031257

Please sign in to comment.