Skip to content

Commit 5149c38

Browse files
Typo fix
Sorry for that elementTyle should be elementType
1 parent 41af046 commit 5149c38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ResizeSensor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@
128128

129129
var elementType = Object.prototype.toString.call(element);
130130
if ('[object Array]' === elementType
131-
|| ('[object NodeList]' === elementTyle)
132-
|| ('[object HTMLCollection]' === elementTyle)
131+
|| ('[object NodeList]' === elementType)
132+
|| ('[object HTMLCollection]' === elementType)
133133
|| ('undefined' !== typeof jQuery && element instanceof jQuery) //jquery
134134
|| ('undefined' !== typeof Elements && element instanceof Elements) //mootools
135135
) {

0 commit comments

Comments
 (0)