mirror of
https://github.com/electron/electron.git
synced 2026-01-25 23:38:18 -05:00
fix js lint error
This commit is contained in:
committed by
Kevin Sawicki
parent
0410a184ce
commit
2d7ceae320
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user