lib/engine.js
function clearChoiceListeners() {
  const lis = document.querySelectorAll('li');
  Array.from(lis).forEach(li => {
    if (li.clearListener) li.clearListener();
  })
}
function clearChoiceListeners() {
  const lis = document.querySelectorAll('li');
  Array.from(lis).forEach(li => {
    if (li.clearListener) li.clearListener();
  })
}
function clearChoiceListeners ( ) { const lis = document . querySelectorAll ( 'li' ) ; Array . from ( lis ) . forEach ( li => { if ( li . clearListener ) li . clearListener ( ) ; } ) }
Clean up event listeners from choices once one of them was selected.
Clean up event listeners from choices once one of them was selected .