browser: fix reloadignoringcache api
This commit is contained in:
parent
fe214e0806
commit
2a7f874373
2 changed files with 2 additions and 7 deletions
|
@ -62,8 +62,8 @@ class NavigationController
|
|||
@webContents._loadURL @getURL(), {}
|
||||
|
||||
reloadIgnoringCache: ->
|
||||
@webContents._reloadIgnoringCache() # Rely on WebContents to clear cache.
|
||||
@reload()
|
||||
@pendingIndex = @currentIndex
|
||||
@webContents._loadURL @getURL(), {extraHeaders: "pragma: no-cache\n"}
|
||||
|
||||
canGoBack: ->
|
||||
@getActiveIndex() > 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue