mirror of
https://github.com/nasa/openmct.git
synced 2024-12-27 08:32:28 +00:00
src/selection/Selection.js (#2535)
This commit is contained in:
parent
286d6e5082
commit
527c5ec7dd
@ -218,15 +218,15 @@ define(
|
||||
* @public
|
||||
*/
|
||||
Selection.prototype.selectable = function (element, context, select) {
|
||||
if (!this.isSelectable(element)) {
|
||||
return () => {};
|
||||
}
|
||||
|
||||
let selectable = {
|
||||
context: context,
|
||||
element: element
|
||||
};
|
||||
|
||||
if (!this.isSelectable(element)) {
|
||||
return () => {};
|
||||
}
|
||||
|
||||
var capture = this.capture.bind(this, selectable);
|
||||
var selectCapture = this.selectCapture.bind(this, selectable);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user