IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Browse Source

Added a workaround to WBAccordion so that it doesn't fold so easily. To be seen if this is fine in practice.

pull/1/head
parent
commit
877ef7fde3
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      frontend/src/js/widget/wb-accordion.js

+ 2
- 0
frontend/src/js/widget/wb-accordion.js View File

@@ -19,6 +19,8 @@ class WBAccordion extends Component {
} }
componentWillReceiveProps(nextProps) { componentWillReceiveProps(nextProps) {
if (JSON.stringify(nextProps.names) === JSON.stringify(this.props.names))
return;
this.props = nextProps; this.props = nextProps;
this.setupIds(); this.setupIds();
} }


Loading…
Cancel
Save