summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/web/bug_modal.js
diff options
context:
space:
mode:
authorDylan Hardison <dylan@mozilla.com>2016-06-09 21:28:26 +0200
committerDylan Hardison <dylan@mozilla.com>2016-06-09 21:28:26 +0200
commit37b2bd154be263e95edb3ca66420e0357535b183 (patch)
treed871ac7918c8ea7294daaa6362e53c8237875a45 /extensions/BugModal/web/bug_modal.js
parentd2507d158fbc961a2ccabdcd384edf18adff7032 (diff)
downloadbugzilla-37b2bd154be263e95edb3ca66420e0357535b183.tar.gz
bugzilla-37b2bd154be263e95edb3ca66420e0357535b183.tar.xz
Bug 1209219 - Add an option to the disable the "X months ago" format for dates
Diffstat (limited to 'extensions/BugModal/web/bug_modal.js')
-rw-r--r--extensions/BugModal/web/bug_modal.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js
index 6e36c994d..0dd9305c4 100644
--- a/extensions/BugModal/web/bug_modal.js
+++ b/extensions/BugModal/web/bug_modal.js
@@ -54,7 +54,7 @@ $(function() {
var relative_timer_duration = 60000;
var relative_timer_id = window.setInterval(relativeTimer, relative_timer_duration);
$(document).on('show.visibility', function() {
- relative_timer_id = window.setInterval(relativeTimer, relative_timer_duration)
+ relative_timer_id = window.setInterval(relativeTimer, relative_timer_duration);
});
$(document).on('hide.visibility', function() {
window.clearInterval(relative_timer_id);
@@ -148,8 +148,8 @@ $(function() {
$(this).hide();
});
- // use non-native tooltips for relative times and bug summaries
- $('.rel-time, .rel-time-title, .bz_bug_link, .tt').tooltip({
+ // use non-native tooltips for relative/absolute times and bug summaries
+ $('.rel-time, .rel-time-title, .abs-time-title, .bz_bug_link, .tt').tooltip({
position: { my: "left top+8", at: "left bottom", collision: "flipfit" },
show: { effect: 'none' },
hide: { effect: 'none' }