mirror of
https://github.com/openstf/stf
synced 2025-10-05 02:29:26 +02:00
Allow shift-click on device icon
This commit is contained in:
parent
d55ce41214
commit
86af24c1a5
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue