From cd592725cbbba18828855ed5a59f4da2d3d9a4ed Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 17 Aug 2015 21:21:39 -0700 Subject: [PATCH] restore docs kill links js --- docs/assets/js/src/application.js | 5 +++++ 1 file changed, 5 insertions(+) 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',