diff --git a/app/ui.js b/app/ui.js index 42a5c0ab3..df80f91f3 100644 --- a/app/ui.js +++ b/app/ui.js @@ -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 @@ -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()) { @@ -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'; @@ -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