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