Fix capcode parsing. #968
This commit is contained in:
parent
56a93212d2
commit
7fab082bea
@ -56,9 +56,9 @@ class Post
|
|||||||
if uniqueID = $ '.posteruid', info
|
if uniqueID = $ '.posteruid', info
|
||||||
@nodes.uniqueID = uniqueID
|
@nodes.uniqueID = uniqueID
|
||||||
@info.uniqueID = uniqueID.firstElementChild.textContent
|
@info.uniqueID = uniqueID.firstElementChild.textContent
|
||||||
if capcode = $ '.capcode', info
|
if capcode = $ '.capcode.hand', info
|
||||||
@nodes.capcode = capcode
|
@nodes.capcode = capcode
|
||||||
@info.capcode = capcode.textContent
|
@info.capcode = capcode.textContent.replace '## ', ''
|
||||||
if flag = $ '.countryFlag', info
|
if flag = $ '.countryFlag', info
|
||||||
@nodes.flag = flag
|
@nodes.flag = flag
|
||||||
@info.flag = flag.title
|
@info.flag = flag.title
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user