aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/navigator/workspace-header-view.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/components/navigator/workspace-header-view.js')
-rw-r--r--server/sonar-web/src/main/js/components/navigator/workspace-header-view.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/components/navigator/workspace-header-view.js b/server/sonar-web/src/main/js/components/navigator/workspace-header-view.js
index 10610eb1b91..f1de179458a 100644
--- a/server/sonar-web/src/main/js/components/navigator/workspace-header-view.js
+++ b/server/sonar-web/src/main/js/components/navigator/workspace-header-view.js
@@ -84,7 +84,7 @@ export default Marionette.ItemView.extend({
flashPagination () {
const flashElement = this.$('.search-navigator-header-pagination');
flashElement.addClass('in');
- setTimeout(function () {
+ setTimeout(() => {
flashElement.removeClass('in');
}, 2000);
},