mirror of
https://github.com/stagehacks/Cue-View.git
synced 2026-08-05 05:47:46 +00:00
Revert "clicking on a device column makes it the active the device"
This reverts commit 205f407266.
This commit is contained in:
@@ -207,7 +207,6 @@ a {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
.active-device-outline {
|
||||
padding: 0px;
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user