Skip to content

Commit

Permalink
Prevent default when shift clicking
Browse files Browse the repository at this point in the history
Prevents highlighting inappropriate HTML in Edge when selecting
multiple rows by shift clicking.

Fixes dojo#1203
  • Loading branch information
maier49 committed Dec 28, 2015
1 parent 0f67fa1 commit 073ea6a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Selection.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,9 @@ define([
this._waitForMouseUp = target;
}
else {
if (event.shiftKey) {
event.preventDefault();
}
this[this._selectionHandlerName](event, target);
}
}
Expand Down

0 comments on commit 073ea6a

Please sign in to comment.