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:
authorRegis <boudinot.regis@yahoo.com>2017-05-05 00:18:59 +0300
committerRegis <boudinot.regis@yahoo.com>2017-05-05 00:18:59 +0300
commit5fb98734d5b91ee6eb57b5fbe098e401d490d946 (patch)
treecf876d215f8479311399e7fe8b80f0d053605265 /app/assets/javascripts
parent0c46b3b8ad1bd251125773649138231482397614 (diff)
use more subtle datetime and title change for timeagoEl - use SCSS variable for timing on animation
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/issue_show/issue_title_description.vue5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/assets/javascripts/issue_show/issue_title_description.vue b/app/assets/javascripts/issue_show/issue_title_description.vue
index 838dccd6a79..e88ab69455b 100644
--- a/app/assets/javascripts/issue_show/issue_title_description.vue
+++ b/app/assets/javascripts/issue_show/issue_title_description.vue
@@ -70,8 +70,6 @@ export default {
this.tasks = this.apiData.task_status;
this.descriptionFlag = { pre: true, pulse: false };
}
-
- return { noTitleChange, noDescriptionChange };
},
setTabTitle() {
const currentTabTitleScope = this.titleEl.innerText.split('ยท');
@@ -109,9 +107,8 @@ export default {
},
updateEditedTimeAgo() {
const toolTipTime = gl.utils.formatDate(this.apiData.updated_at);
-
this.timeAgoEl.attr('datetime', this.apiData.updated_at);
- this.timeAgoEl.attr('data-original-title', toolTipTime);
+ this.timeAgoEl.attr('title', toolTipTime).tooltip('fixTitle');
},
},
computed: {