source/colors.js
// Click-handler for the predefined styles list header

Click-handler for the predefined styles list header
Click - handler for the predefined styles list header
function onListHeadClick(e) {
    e.stopPropagation()
    const style = listBody.style
    style.display = style.display === 'block' ? 'none' : 'block'
  }
function onListHeadClick ( e ) { e . stopPropagation ( ) const style = listBody . style style . display = style . display === 'block' ? 'none' : 'block' }
Click-handler for the predefined styles list header
Click - handler for the predefined styles list header
// Prevent the document click-handler from receiving this click event
 // Toggle display/hide of the predefined styles list body
