Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Fixed error context.
Browse files Browse the repository at this point in the history
  • Loading branch information
ma2ciek committed Jul 2, 2019
1 parent af8ae8f commit cd19b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/range.js
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ export default class Range {
*/
throw new CKEditorError(
'range-create-from-ranges-empty-array: At least one range has to be passed.',
ranges
null
);
} else if ( ranges.length == 1 ) {
return ranges[ 0 ].clone();
Expand Down

0 comments on commit cd19b2c

Please sign in to comment.