mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-21 04:59:49 +01:00
this>el
This commit is contained in:
parent
3d73def541
commit
de0328f329
@ -24,9 +24,9 @@ if (active_page == 'thread' || active_page == 'index') {
|
||||
}
|
||||
|
||||
function colorPostId(el) {
|
||||
var rgb = stringToRGB($(this).text());
|
||||
var rgb = stringToRGB($(el).text());
|
||||
|
||||
$(this).css({
|
||||
$(el).css({
|
||||
"background-color": "rgb("+rgb[0]+", "+rgb[1]+", "+rgb[2]+")",
|
||||
"padding": "3px 5px",
|
||||
"border-radius": "8px",
|
||||
|
Loading…
x
Reference in New Issue
Block a user