Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-07-27 22:41:26 +0300
committerMike Greiling <mike@pixelcog.com>2017-07-27 22:41:26 +0300
commit8cfc89bc9b946b6d492d29814f78b311f85f4c8c (patch)
tree0682fccc9c504399954a8170576d0ada8e3bcbb9 /app/assets/javascripts/users
parentb74b2d8e867c0b3d58c636df205060f9434cb0c7 (diff)
remove needless brackets object accessor syntax
Diffstat (limited to 'app/assets/javascripts/users')
-rw-r--r--app/assets/javascripts/users/user_tabs.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/users/user_tabs.js b/app/assets/javascripts/users/user_tabs.js
index c499c403e28..5b9f3a68138 100644
--- a/app/assets/javascripts/users/user_tabs.js
+++ b/app/assets/javascripts/users/user_tabs.js
@@ -154,7 +154,7 @@ export default class UserTabs {
}
loadActivities() {
- if (this.loaded['activity']) {
+ if (this.loaded.activity) {
return;
}
const $calendarWrap = this.$parentEl.find('.user-calendar');
@@ -172,7 +172,7 @@ export default class UserTabs {
});
new gl.Activities();
- this.loaded['activity'] = true;
+ this.loaded.activity = true;
}
toggleLoading(status) {