From 70b4641ec052916f58be3d0a03a32e396c329e06 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 21 Nov 2018 09:26:12 +0200 Subject: [PATCH 1/2] Prevent default for empty mailto links. --- site/docs/4.1/assets/js/src/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/docs/4.1/assets/js/src/application.js b/site/docs/4.1/assets/js/src/application.js index 5474d361466f..261a877f1373 100644 --- a/site/docs/4.1/assets/js/src/application.js +++ b/site/docs/4.1/assets/js/src/application.js @@ -38,7 +38,7 @@ $('.bd-example-indeterminate [type="checkbox"]').prop('indeterminate', true) // Disable empty links in docs examples - $('.bd-content [href="#"]').click(function (e) { + $('.bd-content [href="#"], .bd-content [href="mailto:#"]').click(function (e) { e.preventDefault() }) From 79ceab6bc974a9b213c831dc3870c7939dbab7ce Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 21 Nov 2018 15:04:10 +0200 Subject: [PATCH 2/2] first.last@example.com --- site/docs/4.1/assets/js/src/application.js | 2 +- site/docs/4.1/content/reboot.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/site/docs/4.1/assets/js/src/application.js b/site/docs/4.1/assets/js/src/application.js index 261a877f1373..5474d361466f 100644 --- a/site/docs/4.1/assets/js/src/application.js +++ b/site/docs/4.1/assets/js/src/application.js @@ -38,7 +38,7 @@ $('.bd-example-indeterminate [type="checkbox"]').prop('indeterminate', true) // Disable empty links in docs examples - $('.bd-content [href="#"], .bd-content [href="mailto:#"]').click(function (e) { + $('.bd-content [href="#"]').click(function (e) { e.preventDefault() }) diff --git a/site/docs/4.1/content/reboot.md b/site/docs/4.1/content/reboot.md index 0b9375d0a1df..8de206fa2b1c 100644 --- a/site/docs/4.1/content/reboot.md +++ b/site/docs/4.1/content/reboot.md @@ -307,7 +307,7 @@ The `
` element is updated to reset the browser default `font-style` fro
Full Name
- first.last@example.com + first.last@example.com