FreezingMoon / AncientBeast-Website

All the source files of the Ancient Beast website 🐲
https://AncientBeast.com
GNU Affero General Public License v3.0
8 stars 8 forks source link

display unit comments accordingly #36

Closed DreadKnight closed 7 years ago

DreadKnight commented 7 years ago

The disqus widget from the unit viewer page should be updated in order to match the conversation of the selected unit, so that each unit has its own comments. Disqus widget is using the page title to generate new threads on the fly by default (unless the function is overwritten by passing a specific variable). In the case of the unit viewer page, the title is using the currently selected unit's name.

DISQUS.reset should probably be used instead of reloading embed.js See https://help.disqus.com/customer/portal/articles/472107-using-disqus-on-ajax-sites

DreadKnight commented 7 years ago

@ktiedt I think these broke when fixing that CloudFlare related issue, needs looking into, again...