svnno****@sourc*****
svnno****@sourc*****
2008年 2月 7日 (木) 00:28:50 JST
Revision: 356 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=bbs2ch&view=rev&rev=356 Author: flyson Date: 2008-02-07 00:28:50 +0900 (Thu, 07 Feb 2008) Log Message: ----------- 空文字列はチェックしないようにした Modified Paths: -------------- trunk/bbs2chreader/chrome/content/bbs2chreader/components/b2rAboneManager.js -------------- next part -------------- Modified: trunk/bbs2chreader/chrome/content/bbs2chreader/components/b2rAboneManager.js =================================================================== --- trunk/bbs2chreader/chrome/content/bbs2chreader/components/b2rAboneManager.js 2008-02-06 15:19:08 UTC (rev 355) +++ trunk/bbs2chreader/chrome/content/bbs2chreader/components/b2rAboneManager.js 2008-02-06 15:28:50 UTC (rev 356) @@ -108,10 +108,10 @@ function checkFunc(aElement, aIndex, aArray){ return this.indexOf(aElement) != -1; } - if(this._aboneData["name"].some(checkFunc, aName)) return true; - if(this._aboneData["mail"].some(checkFunc, aMail)) return true; - if(this._aboneData["id"].some(checkFunc, aID)) return true; - if(this._aboneData["word"].some(checkFunc, aMsg)) return true; + if(aName && this._aboneData["name"].some(checkFunc, aName)) return true; + if(aMail && this._aboneData["mail"].some(checkFunc, aMail)) return true; + if(aID && this._aboneData["id"].some(checkFunc, aID)) return true; + if(aMsg && this._aboneData["word"].some(checkFunc, aMsg)) return true; return false; },