Skip to content

Commit

Permalink
bug: reload menu state when nodes are not contentEditable
Browse files Browse the repository at this point in the history
  • Loading branch information
mduvall committed Nov 20, 2013
1 parent 5025656 commit 688d9ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/grande.js
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,8 @@

// The selected text is not editable
if (!target.isContentEditable) {
return;
reloadMenuState();
return;
}

// The selected text is collapsed, push the menu out of the way
Expand Down

0 comments on commit 688d9ea

Please sign in to comment.