Commit ee5b4708 authored by Clement Ho's avatar Clement Ho

Fix bug where resolved discussions were not visible when toggled

parent 65535829
...@@ -1231,8 +1231,8 @@ export default class Notes { ...@@ -1231,8 +1231,8 @@ export default class Notes {
const isForced = forceShow === true || forceShow === false; const isForced = forceShow === true || forceShow === false;
const showNow = forceShow === true || (!isCurrentlyShown && !isForced); const showNow = forceShow === true || (!isCurrentlyShown && !isForced);
targetRow.toggleClass('hidden', showNow); targetRow.toggleClass('hide', !showNow);
notesContent.toggleClass('hidden', showNow); notesContent.toggleClass('hide', !showNow);
} }
if (addForm) { if (addForm) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment