Please follow the existing code style: `if (!originalEvent) {`