Skip to content
This repository was archived by the owner on Nov 30, 2018. It is now read-only.

Commit 9760506

Browse files
committed
Merge pull request #30 from aaronmars/fix_IE8
Wrap 'type' as an array so it doesn't break jQuery 1.7.1's $.inArray() when running in IE8
2 parents 50cc870 + d7efac8 commit 9760506

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dform.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@
410410
if (_types[type])
411411
{
412412
// We don't need the type key in the options
413-
var ops = $.withoutKeys(options, "type");
413+
var ops = $.withoutKeys(options, ["type"]);
414414
// Run all type element builder functions called typename
415415
$.each(_types[type], function(i, sfn) {
416416
element = sfn.call(element, ops);

0 commit comments

Comments
 (0)