Remove update message after update. fixes #163
This commit is contained in:
@@ -79,6 +79,8 @@ var UpdaterBase = new Class({
|
|||||||
if(json.success){
|
if(json.success){
|
||||||
App.restart('Please wait while CouchPotato is being updated with more awesome stuff.', 'Updating');
|
App.restart('Please wait while CouchPotato is being updated with more awesome stuff.', 'Updating');
|
||||||
App.checkAvailable.delay(500, App);
|
App.checkAvailable.delay(500, App);
|
||||||
|
if(self.message)
|
||||||
|
self.message.destroy();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user