Reload after update
This commit is contained in:
1 parent
5a3919cb08
commit
767ad46d90
2 files changed
+8
-11
No files matched your search
@@ -82,10 +82,11 @@ var UpdaterBase = new Class({
|
||||
'onComplete': function(json){
|
||||
if(json.success){
|
||||
App.restart('Please wait while CouchPotato is being updated with more awesome stuff.', 'Updating');
|
||||
App.checkAvailable.delay(500, App);
|
||||
App.checkAvailable.delay(500, App, [1000, function(){
|
||||
window.location.reload();
|
||||
}]);
|
||||
if(self.message)
|
||||
self.message.destroy();
|
||||
window.location.reload();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user