Skip to content

Commit

Permalink
added ".CodeMirror-line" to draggable() cancel operation so that no drag
Browse files Browse the repository at this point in the history
operation is performed over any matchbrackets highlighted text.
This fixes #534.
  • Loading branch information
jens-maus committed Jan 9, 2019
1 parent ed3f8df commit 30a1e12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,7 @@
if (this.draggable) {
- jQuery("#messagebox").draggable();
+ jQuery("#messagebox").draggable({
+ cancel: "input,textarea,button,select,option,.FooterButton,.StdButton,.CodeMirror"
+ cancel: "input,textarea,button,select,option,.FooterButton,.StdButton,.CodeMirror,.CodeMirror-line"
+ });
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22665,7 +22665,7 @@ iseMessageBox.prototype =

if (this.draggable) {
jQuery("#messagebox").draggable({
cancel: "input,textarea,button,select,option,.FooterButton,.StdButton,.CodeMirror"
cancel: "input,textarea,button,select,option,.FooterButton,.StdButton,.CodeMirror,.CodeMirror-line"
});
}

Expand Down

0 comments on commit 30a1e12

Please sign in to comment.