From aa5e7765143413cba5dfc19a94f92890d79cc2a1 Mon Sep 17 00:00:00 2001 From: Ruud Date: Fri, 11 Nov 2011 17:49:39 +0100 Subject: [PATCH] Destroy on app mask hide. --- couchpotato/static/scripts/couchpotato.js | 1 + 1 file changed, 1 insertion(+) diff --git a/couchpotato/static/scripts/couchpotato.js b/couchpotato/static/scripts/couchpotato.js index c1c3541..84a885d 100644 --- a/couchpotato/static/scripts/couchpotato.js +++ b/couchpotato/static/scripts/couchpotato.js @@ -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 ;)'})