cytoscape-cxtmenu
Advanced tools
Comparing version 2.10.2 to 2.10.3
@@ -35,3 +35,4 @@ /*! | ||
console.log( ele.id() ) // `ele` holds the reference to the active element | ||
} | ||
}, | ||
enabled: true // whether the command is selectable | ||
} | ||
@@ -216,3 +217,3 @@ */ | ||
if (command.disabled) { | ||
if (command.disabled === true || command.enabled === false) { | ||
content.classList.add('cxtmenu-disabled'); | ||
@@ -219,0 +220,0 @@ } |
{ | ||
"name": "cytoscape-cxtmenu", | ||
"version": "2.10.2", | ||
"version": "2.10.3", | ||
"description": "A context menu for Cytoscape.js", | ||
@@ -5,0 +5,0 @@ "main": "cytoscape-cxtmenu.js", |
@@ -72,3 +72,4 @@ cytoscape-cxtmenu | ||
console.log( ele.id() ) // `ele` holds the reference to the active element | ||
} | ||
}, | ||
enabled: true // whether the command is selectable | ||
} | ||
@@ -75,0 +76,0 @@ */ |
605311
1965
111