Bug 1003888 - Replaced getter for isReady() instead of a function(). r=mconley

This commit is contained in:
vikneshwar 2014-05-09 11:29:00 +02:00
parent 860c0a0f3e
commit bbec595a0b
2 changed files with 2 additions and 2 deletions

View File

@ -200,7 +200,7 @@ const PanelUI = {
}
},
isReady: function() {
get isReady() {
return !!this._isReady;
},

View File

@ -191,7 +191,7 @@ CustomizeMode.prototype = {
// is really not going to work. We pass "true" to ensureReady to
// indicate that we're handling calling startBatchUpdate and
// endBatchUpdate.
if (!window.PanelUI.isReady()) {
if (!window.PanelUI.isReady) {
yield window.PanelUI.ensureReady(true);
}