diff --git a/js/ui/padOsd.js b/js/ui/padOsd.js index 49d36e6dc..6e11ddfba 100644 --- a/js/ui/padOsd.js +++ b/js/ui/padOsd.js @@ -978,7 +978,7 @@ var PadOsdService = new Lang.Class({ devices.forEach(Lang.bind(this, function(device) { if (deviceNode == device.get_device_node() && - padDevice.get_device_type() == Clutter.InputDeviceType.PAD_DEVICE) + device.get_device_type() == Clutter.InputDeviceType.PAD_DEVICE) padDevice = device; }));