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 367748a commit 2ffc8c9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,6 @@ const UI = {
},

activateControlbar(event) {
return;
clearTimeout(UI.idleControlbarTimeout);
// We manipulate the anchor instead of the actual control
// bar in order to avoid creating new a stacking group
Expand All @@ -536,7 +535,6 @@ const UI = {
},

idleControlbar() {
return;
// Don't fade if a child of the control bar has focus
if (document.getElementById('noVNC_control_bar')
.contains(document.activeElement) && document.hasFocus()) {
Expand Down Expand Up @@ -1090,7 +1088,6 @@ const UI = {
UI.rfb.addEventListener("clippingviewport", UI.updateViewDrag);
UI.rfb.addEventListener("capabilities", UI.updatePowerButton);
UI.rfb.addEventListener("clipboard", UI.clipboardReceive);
UI.rfb.addEventListener("bell", UI.bell);
UI.rfb.addEventListener("desktopname", UI.updateDesktopName);
UI.rfb.clipViewport = UI.getSetting('view_clip');
UI.rfb.scaleViewport = UI.getSetting('resize') === 'scale';
Expand Down Expand Up @@ -1767,7 +1764,6 @@ const UI = {
},

bell(e) {
return;
if (UI.getSetting('bell') === 'on') {
const promise = document.getElementById('noVNC_bell').play();
// The standards disagree on the return value here
Expand Down

0 comments on commit 2ffc8c9

Please sign in to comment.