Fix mail filtering on Firefox.
This commit is contained in:
parent
5469a08afb
commit
fe3c9bef2d
@ -629,7 +629,7 @@
|
|||||||
email: function(post) {
|
email: function(post) {
|
||||||
var mail;
|
var mail;
|
||||||
if (mail = $('.useremail', post.el)) {
|
if (mail = $('.useremail', post.el)) {
|
||||||
return mail.pathname;
|
return mail.href.slice(7);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
@ -2217,6 +2217,7 @@
|
|||||||
<li>Year: %y</li>\
|
<li>Year: %y</li>\
|
||||||
<li>Hour: %k, %H, %l (lowercase L), %I (uppercase i), %p, %P</li>\
|
<li>Hour: %k, %H, %l (lowercase L), %I (uppercase i), %p, %P</li>\
|
||||||
<li>Minutes: %M</li>\
|
<li>Minutes: %M</li>\
|
||||||
|
<li>Seconds: %S</li>\
|
||||||
</ul>\
|
</ul>\
|
||||||
<div class=warning><code>File Info Formatting</code> is disabled.</div>\
|
<div class=warning><code>File Info Formatting</code> is disabled.</div>\
|
||||||
<ul>\
|
<ul>\
|
||||||
|
|||||||
@ -498,7 +498,8 @@ Filter =
|
|||||||
false
|
false
|
||||||
email: (post) ->
|
email: (post) ->
|
||||||
if mail = $ '.useremail', post.el
|
if mail = $ '.useremail', post.el
|
||||||
return mail.pathname
|
# remove 'mailto:'
|
||||||
|
return mail.href[7..]
|
||||||
false
|
false
|
||||||
subject: (post) ->
|
subject: (post) ->
|
||||||
$('.subject', post.el).textContent or false
|
$('.subject', post.el).textContent or false
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user