mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Removed the remaining Utils.timeout
This commit is contained in:
parent
d466d0301b
commit
6e4c1327c6
@ -1234,7 +1234,7 @@ window.GroupItem.prototype = Utils.extend(new Item(), new Subscribable(), {
|
||||
// of the groupItem's tab.
|
||||
// TODO: This is probably a terrible hack that sets up a race
|
||||
// condition. We need a better solution.
|
||||
Utils.timeout(function() {
|
||||
setTimeout(function() {
|
||||
self._sendToSubscribers("tabAdded", { groupItemId: self.id });
|
||||
}, 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user