mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-21 21:35:16 +02:00
Enable opening device view via reselecting device from device view
This commit is contained in:
@@ -91,7 +91,6 @@ module.exports = function DeviceListIconsDirective(
|
||||
a.removeAttribute('href')
|
||||
li.classList.add('device-is-busy')
|
||||
}
|
||||
|
||||
return li
|
||||
}
|
||||
}
|
||||
@@ -159,8 +158,11 @@ module.exports = function DeviceListIconsDirective(
|
||||
}
|
||||
|
||||
if (device.using) {
|
||||
kickDevice(device)
|
||||
e.preventDefault()
|
||||
if (e.target.classList.contains('btn') &&
|
||||
e.target.classList.contains('state-using')) {
|
||||
kickDevice(device)
|
||||
e.preventDefault()
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user