]> khamidou — GitHub mirrors - electron.git/commitdiff
Replaced restart with reload
authorBernhard Millauer <SeriousM@users.noreply.github.com>
Thu, 15 May 2014 12:21:37 +0000 (14:21 +0200)
committerBernhard Millauer <SeriousM@users.noreply.github.com>
Thu, 15 May 2014 12:21:37 +0000 (14:21 +0200)
because restart is deprecated

docs/api/browser-window.md

index 2ddbaf5ef9cdf861c7dbef899445b3b0b1e99018..9aba1c326bd7bf5162b0de6a8c48d7a9833d9fbb 100644 (file)
@@ -353,7 +353,9 @@ process.
 
 Same with `webContents.loadUrl(url)`.
 
-### BrowserWindow.restart()
+### BrowserWindow.reload()
+
+Reloads the current url.
 
 ### BrowserWindow.setMenu(menu)