Skip to content

Commit c8f179c

Browse files
committed
Merge pull request #10 from evilaliv3/fix/issue/9
Fix issue #9
2 parents 4e4f9e9 + fb8ab58 commit c8f179c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/fusty-flow.js

+4
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,10 @@
382382
},
383383
createForm: function() {
384384
var target = this.flowObj.opts.target;
385+
if (typeof target === "function") {
386+
target = target.apply(null);
387+
}
388+
385389
var form = document.createElement('form');
386390
form.encoding = "multipart/form-data";
387391
form.method = "POST";

0 commit comments

Comments
 (0)