Skip to content

Commit

Permalink
QA: Doing secondary sorts select text
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWitness committed Jan 16, 2025
1 parent b027f6a commit b409adc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -3312,6 +3312,13 @@ $(function () {
handlePopState(event);
}

// Don't allow selection when shift is pressed
$(document).mousedown(function (event) {
if (event.shiftKey) {
event.preventDefault();
}
});

$('#filter, #rfilter').keydown(function (event) {
if (event.keyCode == 8 && $(this).val() == '') {
handlePopState();
Expand Down

0 comments on commit b409adc

Please sign in to comment.