fix(sideMenuView) - bad logic #751

This commit is contained in:
Max Lynch
2014-03-09 16:57:48 -05:00
parent 42560a918b
commit a51f30ea36

View File

@@ -9,7 +9,7 @@
ionic.views.SideMenu = ionic.views.View.inherit({
initialize: function(opts) {
this.el = opts.el;
this.isEnabled = opts.isEnabled || true;
this.isEnabled = (typeof opts.isEnabled === 'undefined') ? true : opts.isEnabled;
this.setWidth(opts.width);
},