Reference to self
This commit is contained in:
1 parent
02fb1a5741
commit
59c2e101d7
1 file changed
+2
-2
@@ -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', {
|
||||
|
||||
Reference in new issue
Block a user