aboutsummaryrefslogtreecommitdiff
path: root/docs/javascript.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/javascript.html')
-rw-r--r--docs/javascript.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/javascript.html b/docs/javascript.html
index 6d5cf9517..cd5f8d38f 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -606,9 +606,13 @@ Sunt qui biodiesel mollit officia, fanny pack put a bird on it thundercats seita
<a href="#" class="btn danger" rel="popover" title="A Title" data-content="And here's some amazing content. It's very engaging. right?">hover for popover</a>
<script>
$(function () {
- $("a[rel=popover]").popover({
- offset: 10
- })
+ $("a[rel=popover]")
+ .popover({
+ offset: 10
+ })
+ .click(function(e) {
+ e.preventDefault()
+ })
})
</script>
</div>