Skip to content

Commit

Permalink
Mouse clicks cancel keydown handler
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Nov 5, 2014
1 parent 2f37242 commit 89a6e36
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions imp/js/dimpbase.js
Expand Up @@ -2468,6 +2468,8 @@ var DimpBase = {
id = elt.identify(),
d = DragDrop.Drags.getDrag(id);

this.is_keydown = false;

if (elt.hasClassName('vpRow')) {
args = { right: e.memo.isRightClick() };
d.fromClick = d.selectIfNoDrag = false;
Expand Down Expand Up @@ -2790,6 +2792,8 @@ var DimpBase = {
var elt = e.element(),
tmp;

this.is_keydown = false;

if (elt.hasClassName('splitBarVertSidebar')) {
DimpCore.setPref('splitbar_side', null);
this.setSidebarWidth();
Expand Down

0 comments on commit 89a6e36

Please sign in to comment.