Skip to content

Commit

Permalink
Merge branch 't/9851b'
Browse files Browse the repository at this point in the history
  • Loading branch information
oleq committed Feb 15, 2013
2 parents df9435d + 84af51b commit bcb0720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/clipboard/plugin.js
Expand Up @@ -904,7 +904,7 @@
else {
var sel = editor.getSelection(),
ranges = sel.getRanges();
retval = sel.type != CKEDITOR.SELECTION_NONE && !( ranges.length == 1 && ranges[ 0 ].collapsed );
retval = sel.getType() != CKEDITOR.SELECTION_NONE && !( ranges.length == 1 && ranges[ 0 ].collapsed );
}

return retval ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED;
Expand Down

0 comments on commit bcb0720

Please sign in to comment.