Skip to content

Commit 7cd0b1c

Browse files
committed
Merge branch 't/10666'
2 parents cec1019 + e916f37 commit 7cd0b1c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ CKEditor 4 Changelog
55

66
Fixed Issues:
77

8+
* [#10666](http://dev.ckeditor.com/ticket/10666): Fixed tools.isArray not working cross frame.
89
* [#10910](http://dev.ckeditor.com/ticket/10910): Fixed error thrown on Internet Explorer 9 in Compatibility Mode.
910
* [#10868](http://dev.ckeditor.com/ticket/10868): Prevent from Internet Explorer 8 crashing when applying a cite style.
1011
* [#10915](http://dev.ckeditor.com/ticket/10915): CSS filter in Kama skin pull request.

core/tools.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223
* @returns {Boolean} `true` if the object is an Array, otherwise `false`.
224224
*/
225225
isArray: function( object ) {
226-
return ( !!object && object instanceof Array );
226+
return Object.prototype.toString.call( object ) == '[object Array]';
227227
},
228228

229229
/**

0 commit comments

Comments
 (0)