Skip to content

Commit

Permalink
Merge pull request #54 from dylan-baskind/fix-selection
Browse files Browse the repository at this point in the history
Fix selection being cancelled in triggerTextSelection()
  • Loading branch information
mduvall committed Nov 15, 2013
2 parents 944920c + f75c614 commit 0f03f98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/grande.js
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@
function triggerTextSelection(e) {
// The selected text is not editable
if (!e.srcElement.isContentEditable) {
return false;
return;
}

var selectedText = root.getSelection(),
Expand Down

0 comments on commit 0f03f98

Please sign in to comment.