We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42e2227 commit df233b4Copy full SHA for df233b4
lib/modules/localDate.js
@@ -17,7 +17,9 @@ modules['localDate'] = {
17
if ((this.isEnabled()) && (this.isMatchURL())) {
18
$('.sitetable')
19
.on('mouseenter', 'time', function() {
20
- this.setAttribute('data-original-title', this.getAttribute('title'));
+ if (!this.getAttribute('data-original-title')) {
21
+ this.setAttribute('data-original-title', this.getAttribute('title'));
22
+ }
23
this.setAttribute('title', new Date(this.getAttribute('datetime')));
24
})
25
.on('mouseleave', 'time', function() {
0 commit comments