diff --git a/appIcons.js b/appIcons.js index f1c5d47c..a905ea21 100644 --- a/appIcons.js +++ b/appIcons.js @@ -846,7 +846,7 @@ export const TaskbarAppIcon = GObject.registerClass({ // fixed issue #1676 by checking for button 0 or 1 to also handle touchscreen // input, probably not the proper fix as i'm not aware button 0 should exist // but from using this fix for months it seems to not create any issues - else if (typeof button === 'number' && (button == 0 || button == 1)) { + else if (button === 0 || button === 1) { let now = global.get_current_time() doubleClick = now - this.lastClick < DOUBLE_CLICK_DELAY_MS diff --git a/intellihide.js b/intellihide.js index 27d28b66..9bc157ee 100644 --- a/intellihide.js +++ b/intellihide.js @@ -40,7 +40,6 @@ const MIN_UPDATE_MS = 250; const T1 = 'checkGrabTimeout'; const T2 = 'limitUpdateTimeout'; const T3 = 'postAnimateTimeout'; -const T4 = 'panelBoxClipTimeout'; const SIDE_CONTROLS_ANIMATION_TIME = OverviewControls.SIDE_CONTROLS_ANIMATION_TIME / (OverviewControls.SIDE_CONTROLS_ANIMATION_TIME > 1 ? 1000 : 1);