fix enum value type inconsistency

This commit is contained in:
doubaniux 2020-12-07 15:47:49 +01:00
parent 0e198653e8
commit 54484e8853

View file

@ -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();
}