From d16396f44ab01b3da09851302036019bb880d5c7 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 26 Jul 2013 19:50:02 -0700 Subject: [PATCH] Fix broke ass popovers direction example --- assets/js/application.js | 5 +---- javascript.html | 20 ++++++++++++++------ 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/assets/js/application.js b/assets/js/application.js index 99ba1413d6..95fc7b7fe8 100644 --- a/assets/js/application.js +++ b/assets/js/application.js @@ -69,11 +69,8 @@ }) // popover demo - $("a[data-toggle=popover]") + $("[data-toggle=popover]") .popover() - .click(function(e) { - e.preventDefault() - }) // button state demo $('#fat-btn') diff --git a/javascript.html b/javascript.html index f54a21523d..213f32778a 100644 --- a/javascript.html +++ b/javascript.html @@ -924,12 +924,20 @@ $('#example').tooltip(options)

Four directions

- +
+ + + + +