Merge pull request #26080 from open-craft/0x29a/fix_add_post

Fix Markdown errors on discussions tab
This commit is contained in:
Ned Batchelder
2021-01-15 11:45:46 -05:00
committed by GitHub

View File

@@ -789,7 +789,7 @@ class DiscussionBoardFragmentView(EdxFragmentView):
works in conjunction with the Django pipeline to ensure that in development mode
the files are loaded individually, but in production just the single bundle is loaded.
"""
return list(set(self.get_js_dependencies('discussion_vendor')))
return list(dict.fromkeys(self.get_js_dependencies('discussion_vendor')))
def js_dependencies(self):
"""