diff --git a/js/views/headerBar.js b/js/views/headerBar.js index 1b2e3d9144..4b43c58bbe 100644 --- a/js/views/headerBar.js +++ b/js/views/headerBar.js @@ -6,12 +6,9 @@ this._titleEl = this.el.querySelector('.title'); }; - ionic.views.NavBar.prototype = { + ionic.views.HeaderBar.prototype = { resizeTitle: function() { - var - e, - j, - i, + var e, j, i, title, titleWidth, children = this.el.children;