mirror of https://github.com/apache/nifi.git
NIFI-343:
- Preventing default action when shift/ctrl clicking images.
This commit is contained in:
parent
e0390ec3f4
commit
e486c5642b
|
@ -393,7 +393,7 @@ nf.CanvasUtils = (function () {
|
|||
*/
|
||||
disableImageHref: function (selection) {
|
||||
selection.on('click.disableImageHref', function () {
|
||||
if (d3.event.ctrlKey) {
|
||||
if (d3.event.ctrlKey || d3.event.shiftKey) {
|
||||
d3.event.preventDefault();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue