fix enum value type inconsistency
This commit is contained in:
parent
0e198653e8
commit
54484e8853
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ $(document).ready( function() {
|
|||
});
|
||||
|
||||
// hide rating star when select wish
|
||||
const WISH_CODE = 1;
|
||||
const WISH_CODE = "wish";
|
||||
if ($("#statusSelection input[type='radio']:checked").val() == WISH_CODE) {
|
||||
$(".mark-modal .rating-star-edit").hide();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue