Skip to content

Commit 4f0b878

Browse files
Kuzcoomarcj
authored andcommitted
Update ResizeSensor.js (marcj#142)
1 parent 812e3bb commit 4f0b878

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ResizeSensor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
var isCollectionTyped = ('[object Array]' === elementsType
3636
|| ('[object NodeList]' === elementsType)
3737
|| ('[object HTMLCollection]' === elementsType)
38+
|| ('[object Object]' === elementsType)
3839
|| ('undefined' !== typeof jQuery && elements instanceof jQuery) //jquery
3940
|| ('undefined' !== typeof Elements && elements instanceof Elements) //mootools
4041
);

0 commit comments

Comments
 (0)