From 016b805df60b7726dd4176deeb9ac725130bbdf1 Mon Sep 17 00:00:00 2001 From: mumuy Date: Wed, 21 Sep 2016 11:02:34 +0800 Subject: [PATCH] =?UTF-8?q?updated=20=E5=A4=9A=E4=BD=99=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/relationship.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/script/relationship.js b/script/relationship.js index 5ec782e..6e3f570 100644 --- a/script/relationship.js +++ b/script/relationship.js @@ -699,7 +699,6 @@ function selector2id(selector,sex){ var result = []; var hash = {}; - var sex2 = -1; //对方性别:-1未知,0女性,1男性 if(sex<0){ //如果自己的性别不确定 if(selector.indexOf(',w')==0){ sex = 1; @@ -710,7 +709,6 @@ if(sex>-1){ selector = ','+sex+selector; } - sex2 = selector.match(/,([mw]|[olx]s|d(&[ol])?)$/)?0:1; var getId = function(selector){ var s=''; if(!hash[selector]){