mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-15 07:22:28 +02:00
code review
This commit is contained in:
parent
d098a9fb3d
commit
9cc670b018
@ -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 New Issue
Block a user