diff --git a/couchpotato/static/scripts/couchpotato.js b/couchpotato/static/scripts/couchpotato.js index e4263884..b615f341 100644 --- a/couchpotato/static/scripts/couchpotato.js +++ b/couchpotato/static/scripts/couchpotato.js @@ -70,13 +70,13 @@ var CouchPotato = new Class({ [new Element('a.orange', { 'text': 'Restart', 'events': { - 'click': App.restart.bind(App) + 'click': self.restart.bind(self) } }), new Element('a.red', { 'text': 'Shutdown', 'events': { - 'click': App.shutdown.bind(App) + 'click': self.shutdown.bind(self) } }), new Element('a', {