From: Bardi Harborow Date: Mon, 28 Nov 2016 03:52:55 +0000 (+1100) Subject: Change scope of docs anchor preventDefault to include modals. X-Git-Tag: v4.0.0-alpha.6~239 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe4cd38877cde677de0c63c7fb109c4e4924c75e;p=thirdparty%2Fbootstrap.git Change scope of docs anchor preventDefault to include modals. --- diff --git a/docs/assets/js/src/application.js b/docs/assets/js/src/application.js index 9588d54093..529b0c1b89 100644 --- a/docs/assets/js/src/application.js +++ b/docs/assets/js/src/application.js @@ -33,7 +33,7 @@ $('.bd-example-indeterminate [type="checkbox"]').prop('indeterminate', true) // Disable empty links in docs examples - $('.bd-example [href="#"]').click(function (e) { + $('.bd-content [href="#"]').click(function (e) { e.preventDefault() })