Bug 742782 - [New Tab Page] Error: aCallback is not defined; r=dietrich

This commit is contained in:
Tim Taubert 2012-04-06 00:33:47 +02:00
parent 988f9fb22b
commit b90c74e3a3

View File

@ -83,10 +83,7 @@ Site.prototype = {
* when done.
*/
block: function Site_block() {
if (gBlockedLinks.isBlocked(this._link)) {
if (aCallback)
aCallback();
} else {
if (!gBlockedLinks.isBlocked(this._link)) {
gBlockedLinks.block(this._link);
gUpdater.updateGrid();
}