Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
mumuy committed Sep 8, 2022
2 parents 89dca50 + 96b1f3d commit 8cbfb8d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/relationship.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/relationship.zh-HK.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/relationship.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var relationship = function (parameter){
var sex = data['sex'];
if(options.reverse){
temps = reverseId(id,sex);
if(id.match(/([fhs1](&[ol])?|[olx]b)$/)){
if(id.match(/([fhs1](&[ol\d]+)?|[olx]b)$/)){
sex = 1;
}else{
sex = 0;
Expand Down

0 comments on commit 8cbfb8d

Please sign in to comment.