We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6c9aceb + 93c92cb commit 3799c3aCopy full SHA for 3799c3a
1 file changed
components/ionHeaderBar/ionHeaderBar.js
@@ -27,10 +27,14 @@ IonHeaderBar = {
27
var leftButtonWidth = 0;
28
var rightButtonWidth = 0;
29
if ($leftButton.length) {
30
- leftButtonWidth = $leftButton.outerWidth();
+ $leftButton.each(function(index, element){
31
+ leftButtonWidth += $(element).outerWidth();
32
+ });
33
}
34
if ($rightButton.length) {
- rightButtonWidth = $rightButton.outerWidth();
35
+ $rightButton.each(function(index, element){
36
+ rightButtonWidth += $(element).outerWidth();
37
38
39
40
// If we're on Android, we only care about the left button
0 commit comments