assets/unpoly/unpoly-bootstrap5.js in unpoly-rails-2.7.1.1 vs assets/unpoly/unpoly-bootstrap5.js in unpoly-rails-2.7.2
- old
+ new
@@ -50,19 +50,14 @@
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
!function() {
-// Bootstrap uses the class `active` to highlight the current section
-// of a navigation bar.
up.feedback.config.currentClasses.push('active');
up.feedback.config.navSelectors.push('.nav', '.navbar');
up.viewport.config.fixedTop.push('.navbar.fixed-top');
up.viewport.config.fixedBottom.push('.navbar.fixed-bottom');
up.viewport.config.anchoredRight.push('.navbar.fixed-top', '.navbar.fixed-bottom');
-// We would really like to provide a nice default for up.form.config.validateTargets.
-// Unfortunately Bootstrap 5 no longer has a selector like ".form-group" to group labels
-// and inputs. All the examples now use <div class="mb-3"> .
up.fragment.config.badTargetClasses.push('row', /^col(-xs|-sm|-md|-lg|-xl|-xxl)?(-\d+)?$/, /^[mp][tbsexy]?-\d+$/);
__webpack_require__(1);
}();
/******/ })()
\ No newline at end of file