]> khamidou — GitHub mirrors - electron.git/commitdiff
Restart renderer when reloading in the default app.
authorCheng Zhao <zcbenz@gmail.com>
Mon, 15 Jul 2013 09:39:53 +0000 (17:39 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 15 Jul 2013 09:39:53 +0000 (17:39 +0800)
browser/default_app/main.js

index ba00cc92694a4804c5c58a4e6204a5294491af1d..a028f28bdf42107f194e670d88a312ae7f9de4ad 100644 (file)
@@ -118,7 +118,7 @@ delegate.browserMainParts.preMainMessageLoopRun = function() {
         {
           label: 'Reload',
           accelerator: 'Command+R',
-          click: function() { BrowserWindow.getFocusedWindow().reloadIgnoringCache(); }
+          click: function() { BrowserWindow.getFocusedWindow().restart(); }
         },
         {
           label: 'Enter Fullscreen',