diff options
Diffstat (limited to 'app/assets/javascripts/issue_show/stores/index.js')
-rw-r--r-- | app/assets/javascripts/issue_show/stores/index.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/assets/javascripts/issue_show/stores/index.js b/app/assets/javascripts/issue_show/stores/index.js index 688ba7b268d..0cd094243b9 100644 --- a/app/assets/javascripts/issue_show/stores/index.js +++ b/app/assets/javascripts/issue_show/stores/index.js @@ -1,4 +1,3 @@ -import _ from 'underscore'; import { convertObjectPropsToCamelCase } from '~/lib/utils/common_utils'; import updateDescription from '../utils/update_description'; @@ -26,7 +25,7 @@ export default class Store { '.detail-page-description.content-block', ); const details = - !_.isNull(descriptionSection) && descriptionSection.getElementsByTagName('details'); + descriptionSection != null && descriptionSection.getElementsByTagName('details'); this.state.descriptionHtml = updateDescription(data.description, details); this.state.titleHtml = data.title; |