зеркало из https://github.com/mozilla/gecko-dev.git
Bug 507386 - Unintended semicolons at the end of if-statements. r=dietrich
This commit is contained in:
Родитель
c6f3f28a51
Коммит
46549979e9
|
@ -2055,7 +2055,7 @@ MicrosummaryResource.prototype = {
|
||||||
getService(Ci.nsICharsetResolver);
|
getService(Ci.nsICharsetResolver);
|
||||||
if (resolver) {
|
if (resolver) {
|
||||||
var charset = resolver.requestCharset(null, request.channel, {}, {});
|
var charset = resolver.requestCharset(null, request.channel, {}, {});
|
||||||
if (charset != "");
|
if (charset != "")
|
||||||
request.channel.contentCharset = charset;
|
request.channel.contentCharset = charset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -154,7 +154,7 @@ PlacesController.prototype = {
|
||||||
var result = this._view.getResult();
|
var result = this._view.getResult();
|
||||||
if (result) {
|
if (result) {
|
||||||
var container = asContainer(result.root);
|
var container = asContainer(result.root);
|
||||||
if (container.containerOpen && container.childCount > 0);
|
if (container.containerOpen && container.childCount > 0)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче