1
0
Fork 0
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:
Vishal Banthia 2015-10-14 22:18:14 +09:00
parent d55ce41214
commit 86af24c1a5

View file

@ -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) {