fix js lint error

This commit is contained in:
deepak1556 2016-10-10 18:28:56 +05:30 committed by Kevin Sawicki
parent 0410a184ce
commit 2d7ceae320

View file

@ -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)
}