Remove dead code comment

pull/261/head
Cory LaViska 2020-10-15 16:35:25 -04:00
rodzic 2bd88b7d92
commit 272c7df91b
1 zmienionych plików z 0 dodań i 5 usunięć

Wyświetl plik

@ -182,11 +182,6 @@ export class ColorPicker {
async reportValidity() { async reportValidity() {
// If the input is invalid, show the dropdown so the browser can focus on it // If the input is invalid, show the dropdown so the browser can focus on it
if (!this.inline && this.input.invalid) { if (!this.inline && this.input.invalid) {
// this.dropdown.show();
// setTimeout(() => {
// this.input.reportValidity();
// }, 300);
return new Promise(resolve => { return new Promise(resolve => {
this.dropdown.addEventListener( this.dropdown.addEventListener(
'sl-after-show', 'sl-after-show',