Describe the bug
The isQuestionHot feature throws an exception and does nothing.
To Reproduce
Steps to reproduce the behaviour:
Go to any recent hot network question (e.g. this at the time of writing)
There's not hot network question text or icon
SOX errors logged in console
Uncaught TypeError: Cannot set property 'innerHTML' of null
at addHotText (userscript.html?id=cf7158da-e94f-410f-9033-e1aedd3cbc41:1725)
at Object.eval (userscript.html?id=cf7158da-e94f-410f-9033-e1aedd3cbc41:1740)
at Function.each (userscript.html?id=cf7158da-e94f-410f-9033-e1aedd3cbc41:7)
at Object.eval [as success] (userscript.html?id=cf7158da-e94f-410f-9033-e1aedd3cbc41:1739)
at u (userscript.html?id=cf7158da-e94f-410f-9033-e1aedd3cbc41:7)
at Object.fireWith [as resolveWith] (userscript.html?id=cf7158da-e94f-410f-9033-e1aedd3cbc41:7)
at k (userscript.html?id=cf7158da-e94f-410f-9033-e1aedd3cbc41:7)
at XMLHttpRequest.eval (userscript.html?id=cf7158da-e94f-410f-9033-e1aedd3cbc41:7)
Expected behaviour
A flame icon next to the title, and some sort of text near the top of the question saying the question is a HNQ.
Environment
SOX version: 2.5.19 dev
Platform: Tampermonkey
Describe the bug The
isQuestionHot
feature throws an exception and does nothing.To Reproduce Steps to reproduce the behaviour:
SOX errors logged in console
Expected behaviour A flame icon next to the title, and some sort of text near the top of the question saying the question is a HNQ.
Environment SOX version: 2.5.19 dev Platform: Tampermonkey
Features Enabled