Always create the subject element.
This commit is contained in:
parent
7ab661955e
commit
7657167953
@ -20,7 +20,7 @@
|
|||||||
// @icon https://github.com/MayhemYDG/4chan-x/raw/stable/img/icon.gif
|
// @icon https://github.com/MayhemYDG/4chan-x/raw/stable/img/icon.gif
|
||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|
||||||
/* 4chan X Alpha - Version 3.0.0 - 2013-02-14
|
/* 4chan X Alpha - Version 3.0.0 - 2013-02-15
|
||||||
* http://mayhemydg.github.com/4chan-x/
|
* http://mayhemydg.github.com/4chan-x/
|
||||||
*
|
*
|
||||||
* Copyright (c) 2009-2011 James Campos <james.r.campos@gmail.com>
|
* Copyright (c) 2009-2011 James Campos <james.r.campos@gmail.com>
|
||||||
@ -2464,7 +2464,7 @@
|
|||||||
emailStart = '';
|
emailStart = '';
|
||||||
emailEnd = '';
|
emailEnd = '';
|
||||||
}
|
}
|
||||||
subject = subject ? "<span class=subject>" + subject + "</span>" : '';
|
subject = "<span class=subject>" + (subject || '') + "</span>";
|
||||||
userID = !capcode && uniqueID ? (" <span class='posteruid id_" + uniqueID + "'>(ID: ") + ("<span class=hand title='Highlight posts by this ID'>" + uniqueID + "</span>)</span> ") : '';
|
userID = !capcode && uniqueID ? (" <span class='posteruid id_" + uniqueID + "'>(ID: ") + ("<span class=hand title='Highlight posts by this ID'>" + uniqueID + "</span>)</span> ") : '';
|
||||||
switch (capcode) {
|
switch (capcode) {
|
||||||
case 'admin':
|
case 'admin':
|
||||||
|
|||||||
@ -1183,11 +1183,7 @@ Build =
|
|||||||
emailStart = ''
|
emailStart = ''
|
||||||
emailEnd = ''
|
emailEnd = ''
|
||||||
|
|
||||||
subject =
|
subject = "<span class=subject>#{subject or ''}</span>"
|
||||||
if subject
|
|
||||||
"<span class=subject>#{subject}</span>"
|
|
||||||
else
|
|
||||||
''
|
|
||||||
|
|
||||||
userID =
|
userID =
|
||||||
if !capcode and uniqueID
|
if !capcode and uniqueID
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user