From 1d689ef6c5bec73062db140ed41b3eebde227de0 Mon Sep 17 00:00:00 2001 From: sparks-alec Date: Mon, 9 Jan 2023 00:12:52 -0500 Subject: [PATCH] Revert "clicking on a device column makes it the active the device" This reverts commit 205f40726661d6e578ebf65f81137f309e69fb36. --- src/assets/css/index.css | 1 - src/view.js | 3 --- 2 files changed, 4 deletions(-) diff --git a/src/assets/css/index.css b/src/assets/css/index.css index 52f72d6..9ab1a51 100644 --- a/src/assets/css/index.css +++ b/src/assets/css/index.css @@ -207,7 +207,6 @@ a { width: 100%; height: 100%; border: 0; - pointer-events: none; } .active-device-outline { padding: 0px; diff --git a/src/view.js b/src/view.js index 39cb874..9707a2c 100644 --- a/src/view.js +++ b/src/view.js @@ -168,9 +168,6 @@ function switchDevice(id) { document.getElementById('all-devices').insertAdjacentHTML('afterbegin', html); $deviceWrapper = document.getElementById(`device-${i}`); - $deviceWrapper.onclick = function (e) { - switchDevice(i); - }; } window.switchClass(document.getElementById(id), 'active-device');