From 58d631cdccdda18ec6071444e5df5a4a6c35cefe Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Fri, 29 Apr 2011 13:38:04 +0200 Subject: Incompatibility bits. * global onMessage is not chic anymore, replacing with self.on handler. * filterByRegexp returns string and could return null. Make sure we can survive it. --- data/lib/otherButtons.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/lib/otherButtons.js') diff --git a/data/lib/otherButtons.js b/data/lib/otherButtons.js index ab8ec35..0e7b408 100644 --- a/data/lib/otherButtons.js +++ b/data/lib/otherButtons.js @@ -78,7 +78,7 @@ function addingEmbelishments(list) { var maintCCAddr = ""; if (constantData.CCmaintainer) { maintCCAddr = filterByRegexp(constantData.CCmaintainer, - getComponent())[0]; // filterByRegexp returns array, not string + getComponent()); // filterByRegexp returns string, not array, now } // we should make visible whether maintCCAddr is in CCList -- cgit