« get me outta code hell

mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ui.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui.js b/ui.js
index 2ec13fa..f72ec1e 100644
--- a/ui.js
+++ b/ui.js
@@ -205,9 +205,9 @@ class AppElement extends FocusElement {
     this.playbackInfoElement = new PlaybackInfoElement()
     this.playbackPane.addChild(this.playbackInfoElement)
 
-    this.playbackInfoElement.on('seek back', () => this.seekBack(5))
-    this.playbackInfoElement.on('seek ahead', () => this.seekAhead(5))
-    this.playbackInfoElement.on('toggle pause', () => this.togglePause())
+    this.playbackInfoElement.on('seek back', () => this.backend.seekBack(5))
+    this.playbackInfoElement.on('seek ahead', () => this.backend.seekAhead(5))
+    this.playbackInfoElement.on('toggle pause', () => this.backend.togglePause())
 
     // Dialogs