mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
code review
This commit is contained in:
parent
d098a9fb3d
commit
9cc670b018
1 changed files with 2 additions and 2 deletions
|
@ -89,12 +89,12 @@ var proceedPermanent = function() {
|
|||
proceed.descendants('span:nth-of-type(4)').text(matches[2]);
|
||||
|
||||
if ( details.hn === details.dn ) {
|
||||
proceed.descendants('.hn').text(details.hn);
|
||||
proceed.descendants('span:nth-of-type(2)').remove();
|
||||
proceed.descendants('.hn').text(details.hn);
|
||||
} else {
|
||||
proceed.descendants('span:nth-of-type(3)').remove();
|
||||
proceed.descendants('.hn').text(details.hn).attr('value', details.hn);
|
||||
proceed.descendants('.dn').text(details.dn).attr('value', details.dn);
|
||||
proceed.descendants('span:nth-of-type(3)').remove();
|
||||
}
|
||||
|
||||
uDom('#proceed').append(proceed);
|
||||
|
|
Loading…
Reference in a new issue