зеркало из https://github.com/mozilla/pjs.git
Bug 432818 - Moving a tab for a channel called "#" triggers problems
r=silver@warwickcompsoc.co.uk (James Ross) ChatZilla Only. a=NPOTB.
This commit is contained in:
Родитель
5d88d69e01
Коммит
b4e680161a
|
@ -2801,7 +2801,7 @@ function chan_geturl()
|
|||
var target = this.encodedName;
|
||||
var flags = this.mode.key ? ["needkey"] : [];
|
||||
|
||||
if ((target[0] == "#") &&
|
||||
if ((target[0] == "#") && (target.length > 1) &&
|
||||
arrayIndexOf(this.parent.channelTypes, target[1]) == -1)
|
||||
{
|
||||
/* First character is "#" (which we're allowed to omit), and the
|
||||
|
|
Загрузка…
Ссылка в новой задаче