summaryrefslogtreecommitdiff
path: root/overrides
diff options
context:
space:
mode:
authorMatt Watson <mattdangerw@gmail.com>2014-01-16 17:13:35 -0800
committerMatt Watson <mattdangerw@gmail.com>2014-01-16 17:14:32 -0800
commit42e7665454dc1dd51b81e05a3e1a8f98358df423 (patch)
tree25b35356c7cf6e5b766e0aa23f6c470c9279de19 /overrides
parent66b6c27feb6ce83e3b3c32b3387f25102f9ba677 (diff)
Override valign for AssetButton internals, not AssetButton
Fixes the aligment of the disclaimer button in eos-wikipedia [endlessm/eos-sdk#490]
Diffstat (limited to 'overrides')
-rw-r--r--overrides/endless_private/asset_button.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/overrides/endless_private/asset_button.js b/overrides/endless_private/asset_button.js
index dbb2282..4216536 100644
--- a/overrides/endless_private/asset_button.js
+++ b/overrides/endless_private/asset_button.js
@@ -46,7 +46,7 @@ const AssetButton = new Lang.Class({
this.parent(params);
this.set_image(this._image);
- this._force_center_valign(this);
+ this.forall(Lang.bind(this, this._force_center_valign));
this.connect('state-flags-changed', Lang.bind(this, this._update_appearance));
},