From 1a701e20ab6725c346376dab282b01b52ab3920b Mon Sep 17 00:00:00 2001 From: jlukic Date: Thu, 1 Jan 2015 15:31:33 -0500 Subject: [PATCH] Make useLegacy more obvious in sidebar, default to auto --- src/definitions/modules/sidebar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/definitions/modules/sidebar.js b/src/definitions/modules/sidebar.js index a95d0832d..33924a942 100644 --- a/src/definitions/modules/sidebar.js +++ b/src/definitions/modules/sidebar.js @@ -83,7 +83,7 @@ $.fn.sidebar = function(parameters) { transitionEvent = module.get.transitionEvent(); // cache on initialize - if( module.is.legacy() || settings.legacy) { + if( (module.useLegacy == 'auto' && module.is.legacy()) || settings.useLegacy) { settings.transition = 'overlay'; settings.useLegacy = true; } @@ -991,7 +991,7 @@ $.fn.sidebar.settings = { scrollLock : false, returnScroll : false, - useLegacy : false, + useLegacy : 'auto', duration : 500, easing : 'easeInOutQuint',