Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Commit

Permalink
Bug 884810 - ctx.ready does not register event listener target if ava…
Browse files Browse the repository at this point in the history
…ilable. r=stas
  • Loading branch information
Zbigniew Braniecki committed Jun 19, 2013
1 parent 825f56b commit 11b7a4d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/l20n/context.js
Expand Up @@ -260,9 +260,8 @@ define(function (require, exports, module) {
function ready(callback) {
if (_isReady) {
setTimeout(callback);
} else {
addEventListener('ready', callback);
}
addEventListener('ready', callback);
}

function bindLocalize(ids, callback, reason) {
Expand Down

0 comments on commit 11b7a4d

Please sign in to comment.