kronusaturn / lw2-viewer

An alternative frontend for LessWrong 2.0
https://www.greaterwrong.com/
MIT License
61 stars 6 forks source link

Crash in recomputeUIElementsContainerHeight #16

Closed jimrandomh closed 5 years ago

jimrandomh commented 5 years ago

When I try to load a post page, either with my local greaterwrong instance pointed at lesswrong.com or with it pointed at my local lesswrong test server, I get:

script.js?v=1550105289:3678 Uncaught TypeError: Cannot read property 'hasClass' of null
    at recomputeUIElementsContainerHeight (script.js?v=1550105289:3678)
    at postSetThemeHousekeeping (script.js?v=1550105289:1012)
    at script.js?v=1550105289:3592
    at HTMLDocument.wrapper (script.js?v=1550105289:27)

The post body and all comments are then missing from the page.

achmizs commented 5 years ago

The JavaScript error is caused by the missing body/comments, not the other way around. The cause of the missing body/comments, in turn, is something different.

If you’re still having this problem, please take a look at the sbcl console for errors, and open another issue about it.

kronusaturn commented 5 years ago

This is likely fixed by updating kronusaturn/plump.git to the latest revision.