mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-16 16:19:48 -05:00
hide inappropriate link field
disable and hide functions expect argument to be an array.
This commit is contained in:
parent
750071b7ae
commit
2650c44407
1 changed files with 2 additions and 2 deletions
|
@ -59,8 +59,8 @@ class HelpWidget extends React.Component {
|
|||
// don't show the Freshdesk button
|
||||
window.FreshworksWidget('hide', 'launcher');
|
||||
|
||||
window.FreshworksWidget('disable', 'ticketForm', 'custom_fields.cf_inappropriate_report_link');
|
||||
window.FreshworksWidget('hide', 'ticketForm', 'custom_fields.cf_inappropriate_report_link');
|
||||
window.FreshworksWidget('disable', 'ticketForm', ['custom_fields.cf_inappropriate_report_link']);
|
||||
window.FreshworksWidget('hide', 'ticketForm', ['custom_fields.cf_inappropriate_report_link']);
|
||||
|
||||
// open the popup already on the form if passed Inappropriate content param
|
||||
this.openPopup(this.props.subject !== '');
|
||||
|
|
Loading…
Reference in a new issue