This repository was archived by the owner on Feb 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -774,7 +774,7 @@ Header.prototype = {
774
774
}
775
775
} ,
776
776
qualify_for_risk_classification : function ( ) {
777
- if ( page . client . is_logged_in && ! page . client . is_virtual ( ) && page . client . residence !== 'jp' && ! $ ( 'body' ) . hasClass ( 'BlueTopBack' ) &&
777
+ if ( page . client . is_logged_in && ! page . client . is_virtual ( ) && page . client . residence !== 'jp' && ! $ ( 'body' ) . hasClass ( 'BlueTopBack' ) && $ ( '#assessment_form' ) . length === 0 &&
778
778
( localStorage . getItem ( 'reality_check.ack' ) === '1' || ! localStorage . getItem ( 'reality_check.interval' ) ) ) {
779
779
return true ;
780
780
}
Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ function BinarySocketClass() {
252
252
}
253
253
}
254
254
} else if ( type === 'get_financial_assessment' && ! response . hasOwnProperty ( 'error' ) ) {
255
- if ( objectNotEmpty ( response . get_financial_assessment ) ) {
255
+ if ( ! objectNotEmpty ( response . get_financial_assessment ) ) {
256
256
if ( page . header . qualify_for_risk_classification ( ) && localStorage . getItem ( 'risk_classification.response' ) === 'high' ) {
257
257
localStorage . setItem ( 'risk_classification' , 'high' ) ;
258
258
page . header . check_risk_classification ( ) ;
You can’t perform that action at this time.
0 commit comments