NIFI-343:

- Preventing default action when shift/ctrl clicking images.
This commit is contained in:
Matt Gilman 2015-02-12 07:59:04 -05:00
parent e0390ec3f4
commit e486c5642b
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}
});