mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(sideMenuView) - bad logic #751
This commit is contained in:
@@ -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);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user