Merge pull request #44 from digilord/master

Adjusted the align data source to be this.data
This commit is contained in:
Nick Wientge 2015-01-25 10:30:12 -08:00
commit 12f7c64275

View file

@ -1,9 +1,9 @@
IonHeaderBar = {
alignTitle: function () {
var align = this.alignTitle || 'center';
var align = this.data.alignTitle || this.alignTitle || 'center';
var $title = this.$('.title');
if (Platform.isAndroid() && !this.alignTitle) {
if (Platform.isAndroid() && (!this.data.alignTitle && !this.alignTitle)) {
$title.addClass('title-left');
return;
}