We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6f8b09 commit abc7b58Copy full SHA for abc7b58
app/controllers/application.js
@@ -5,7 +5,7 @@ import { filterBy } from '@ember/object/computed';
5
import Controller from '@ember/controller';
6
import moment from 'moment-timezone';
7
import { tracked } from '@glimmer/tracking';
8
-
+import { later } from '@ember/runloop';
9
10
@classic
11
export default class ApplicationController extends Controller {
@@ -51,7 +51,9 @@ export default class ApplicationController extends Controller {
51
@action
52
hideCookieMessage() {
53
this.getCookieSeen(true);
54
- this.showCookie = false;
+ later(this, () => {
55
+ this.showCookie = false;
56
+ }, 2000);
57
}
58
59
0 commit comments