mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-26 15:55:31 +02:00
Allow shift-click on device icon
This commit is contained in:
@@ -140,6 +140,8 @@ module.exports = function DeviceListDetailsDirective(
|
||||
e.target.classList.contains('device-photo-small') ||
|
||||
e.target.classList.contains('device-name')) {
|
||||
id = e.target.parentNode.parentNode.id
|
||||
} else if (e.target.parentNode.classList.contains('device-photo-small')) {
|
||||
id = e.target.parentNode.parentNode.parentNode.id
|
||||
}
|
||||
|
||||
if (id) {
|
||||
|
||||
Reference in New Issue
Block a user