revert last push
This commit is contained in:
parent
3a0439de04
commit
19f5878592
1 changed files with 0 additions and 1 deletions
|
|
@ -885,7 +885,6 @@ Mithril = m = new function app(window, undefined) {
|
|||
if (maybeXhr != null) xhr = maybeXhr
|
||||
}
|
||||
|
||||
if (!isStr(options.data) && options.data.constructor != window.FormData) throw "Request data should be either be a string or FormData. Check the `serialize` option in `m.request`"
|
||||
xhr.send(options.method == "GET" || !options.data ? "" : options.data)
|
||||
return xhr
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue