Destroy on app mask hide.

This commit is contained in:
Ruud
2011-11-11 17:49:39 +01:00
parent dc58859596
commit aa5e776514
@@ -147,6 +147,7 @@ var CouchPotato = new Class({
if(!self.mask){
var body = $(document.body);
self.mask = new Spinner(document.body, {
'destroyOnHide': true,
'message': new Element('div').adopt(
new Element('h1', {'text': 'Unavailable.'}),
new Element('div', {'text': message || 'Something must have crashed.. check the logs ;)'})