Skip to content

Commit a53eb7d

Browse files
committed
Update flash
1 parent 2c60611 commit a53eb7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/javascript/controllers/flash.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default class extends Controller {
88
}
99

1010
dismiss() {
11-
this.element.style.opacity = 0;
11+
(this.element as HTMLElement).style.opacity = '0';
1212
setTimeout(() => this.element.remove(), 1000);
1313
}
1414
}

0 commit comments

Comments
 (0)