mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(navButtons): correct show/hide
This commit is contained in:
2
js/angular/controller/headerBarController.js
vendored
2
js/angular/controller/headerBarController.js
vendored
@@ -337,7 +337,7 @@ function($scope, $element, $attrs, $q, $ionicConfig, $ionicHistory) {
|
||||
|
||||
var eleCache = {};
|
||||
function getEle(className) {
|
||||
if (!isDefined(eleCache[className])) {
|
||||
if (!eleCache[className]) {
|
||||
eleCache[className] = $element[0].querySelector('.' + className);
|
||||
}
|
||||
return eleCache[className];
|
||||
|
||||
Reference in New Issue
Block a user