mirror of
https://github.com/donl/meteor-ionic.git
synced 2026-05-26 22:06:41 -06:00
commit
3799c3a666
1 changed files with 6 additions and 2 deletions
|
|
@ -27,10 +27,14 @@ IonHeaderBar = {
|
|||
var leftButtonWidth = 0;
|
||||
var rightButtonWidth = 0;
|
||||
if ($leftButton.length) {
|
||||
leftButtonWidth = $leftButton.outerWidth();
|
||||
$leftButton.each(function(index, element){
|
||||
leftButtonWidth += $(element).outerWidth();
|
||||
});
|
||||
}
|
||||
if ($rightButton.length) {
|
||||
rightButtonWidth = $rightButton.outerWidth();
|
||||
$rightButton.each(function(index, element){
|
||||
rightButtonWidth += $(element).outerWidth();
|
||||
});
|
||||
}
|
||||
|
||||
// If we're on Android, we only care about the left button
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue