Comments are now forced to sort by "hot" in all cases.

This commit is contained in:
Michael Lazar
2015-03-18 00:46:36 -07:00
parent fd9cbd8841
commit 52c7c0730d
5 changed files with 113 additions and 109 deletions

View File

@@ -3,7 +3,8 @@ import sys
from .content import SubmissionContent
from .page import BasePage
from .utils import LoadScreen, Color, Symbol, display_help, open_browser
from .utils import Color, Symbol, display_help
from .workers import LoadScreen, open_browser
class SubmissionPage(BasePage):
@@ -80,7 +81,8 @@ class SubmissionPage(BasePage):
def refresh_content(self):
self.content.reset()
url = self.content.name
self.content = SubmissionContent.from_url(self.reddit, url, self.loader)
self.nav.page_index, self.nav.cursor_index = -1, 0
self.nav.inverted = False