From 41a2be30e1dc23c2ea59df034e31346a8a8a83f1 Mon Sep 17 00:00:00 2001 From: Michael Lazar Date: Fri, 4 Aug 2017 16:09:54 -0400 Subject: [PATCH] Restrict J/K commands to the submission page --- rtv/submission_page.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtv/submission_page.py b/rtv/submission_page.py index 5b09683..6e9b495 100644 --- a/rtv/submission_page.py +++ b/rtv/submission_page.py @@ -181,7 +181,7 @@ class SubmissionPage(Page): else: self.term.flash() - @PageController.register(Command('SUBMISSION_GOTO_PARENT')) + @SubmissionController.register(Command('SUBMISSION_GOTO_PARENT')) def move_parent_up(self): """ Move the cursor up to the comment's parent. If the comment is @@ -200,7 +200,7 @@ class SubmissionPage(Page): self.clear_input_queue() - @PageController.register(Command('SUBMISSION_GOTO_SIBLING')) + @SubmissionController.register(Command('SUBMISSION_GOTO_SIBLING')) def move_sibling_next(self): """ Jump to the next comment that's at the same level as the selected