6

When I try and click on "more hot questions" once I've chosen a tag, it doesn't work. It just puts a # at the end of the URL and refreshes the page and my tags. Even without setting tags, it still won't expand as the page refreshes.

However, if I go to a question and click "more hot questions", it expands normally. So I've worked out it only happens when you're on the questions page.

Is this something that's on my end, or can others reproduce this bug?

3
  • Repo'ed on Chrome 44. I didn't get a more hot questions on the main questions page, but going to Need Answers then I did get a more hot questions link, and that didn't work.
    – Joe
    Commented Jul 29, 2015 at 16:17
  • I get this on Firefox 39.
    – Kevin
    Commented Aug 3, 2015 at 14:12
  • This appears to be fixed now: the code change I suggested below has been made, and I cannot reproduce the bug any more. Commented Sep 7, 2017 at 17:53

1 Answer 1

2

It seems that anything that triggers an AJAX update of the question list (e.g. switching to a different tab, adding or removing filtered tags, changing the sort order, etc.) will trigger this bug.

If you open the browser error console (by pressing F12 and selecting the Console tab), you will see the following error message appear on the console every time the question list is updated:

TypeError: StackExchange.helpers.bindShowMoreHotNetworkQuestions is not a function

The stack backtrace that comes with the message is not very helpful, since the code is minified, but it does mention "StackExchange.newnav.controllers.unifiedQuestionListController/<.onLoadSucceed" near the top of the call stack.

So, yes, this is definitely a bug. I have not looked into the code in further detail, but hopefully this should at least be enough information for the SE devs to reproduce and fix this.


Update: This appears to be a simple typo in the redrawPeripherals function in PartialJS\full-anon\23_NewNav.js, as included in https://cdn-dev.sstatic.net/Js/full.en.js. The line that reads:

StackExchange.helpers.bindShowMoreHotNetworkQuestions();

should instead just read:

StackExchange.bindShowMoreHotNetworkQuestions();

I'll include a hotfix for this bug in the next version of SOUP, if the SE devs don't get around to fixing it first.

Not the answer you're looking for? Browse other questions tagged .