File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Many additional bugs fixed.
66/* global importStylesheet */
77// <nowiki>
88( function ( ) {
9- const UNBLOCK_REQ_COLOR = 'rgb(235, 244, 255 )' ;
9+ const UNBLOCK_REQ_COLOR = 'var(--background-color-progressive-subtle, #EBF4FF )' ;
1010 const DEFAULT_DECLINE_REASON = '{{subst:Decline reason here}}' ;
1111 const ADVERT = ' ([[User:Novem Linguae/Scripts/UnblockReview.js|unblock-review]])' ;
1212
@@ -28,7 +28,7 @@ Many additional bugs fixed.
2828 // look for user-block HTML class, which will correspond to {{Unblock}} requests
2929 const userBlockBoxes = document . querySelectorAll ( 'div.user-block' ) ;
3030 for ( let i = 0 , n = userBlockBoxes . length ; i < n ; i ++ ) {
31- if ( userBlockBoxes [ i ] . style [ ' background-color' ] !== UNBLOCK_REQ_COLOR ) {
31+ if ( userBlockBoxes [ i ] . style . background !== UNBLOCK_REQ_COLOR ) {
3232 continue ;
3333 }
3434
You can’t perform that action at this time.
0 commit comments