Reference to self

This commit is contained in:
Ruud
2012-03-18 17:08:22 +01:00
parent 02fb1a5741
commit 59c2e101d7
+2 -2
View File
@@ -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', {