Drupal.quickedit undefined when quickedit disabled
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #2911345. -->
Reported by: [chris.smith](https://www.drupal.org/user/1812018)
>>>
<p>The moderation_sidebar.js file assumes that quickedit is enabled. Bt, this module should not depend on the quickedit module.</p>
<p>On line 14, I've added a condition to determine if quickedit is defined. </p>
<p><code>if (typeof Drupal.quickedit !== 'undefined') {</code></p>
<p>Alternatively, if quickedit is meant to be a dependency, then we need to add it to the info.yml file.</p>
<p>Looking to the maintainer for guidance.</p>
issue