fix js lint error
This commit is contained in:
parent
0410a184ce
commit
2d7ceae320
1 changed files with 2 additions and 1 deletions
|
@ -120,8 +120,9 @@ const createGuest = function (embedder, url, frameName, options, postData) {
|
|||
// The above code would not work if a navigation to "about:blank" is done
|
||||
// here, since the window would be cleared of all changes in the next tick.
|
||||
const loadOptions = {}
|
||||
if (postData)
|
||||
if (postData) {
|
||||
loadOptions.postData = postData
|
||||
}
|
||||
guest.loadURL(url, loadOptions)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue