Skip to content

Commit ebafa44

Browse files
committed
Fix issue #9
1 parent 6da9e07 commit ebafa44

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)