mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 742782 - [New Tab Page] Error: aCallback is not defined; r=dietrich
This commit is contained in:
parent
988f9fb22b
commit
b90c74e3a3
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user