From: Mark Otto Date: Tue, 18 Aug 2015 04:21:39 +0000 (-0700) Subject: restore docs kill links js X-Git-Tag: v4.0.0-alpha~27^2~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd592725cbbba18828855ed5a59f4da2d3d9a4ed;p=thirdparty%2Fbootstrap.git restore docs kill links js --- diff --git a/docs/assets/js/src/application.js b/docs/assets/js/src/application.js index e8432b53f0..f579b10b2d 100644 --- a/docs/assets/js/src/application.js +++ b/docs/assets/js/src/application.js @@ -28,6 +28,11 @@ $('.tooltip-test').tooltip() $('.popover-test').popover() + // Disable empty links in docs examples + $('.bd-example [href=#]').click(function (e) { + e.preventDefault() + }) + // Config ZeroClipboard ZeroClipboard.config({ moviePath: '/assets/flash/ZeroClipboard.swf',