mirror of
https://github.com/donl/meteor-ionic.git
synced 2026-05-26 22:06:41 -06:00
Merge pull request #44 from digilord/master
Adjusted the align data source to be this.data
This commit is contained in:
commit
12f7c64275
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue