aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorfat <[email protected]>2013-07-26 20:44:35 -0700
committerfat <[email protected]>2013-07-26 20:44:35 -0700
commit38044e55aeeb80c370e9110a2e7d339d4575a222 (patch)
treeedcd5ed647a1080f239dd23ca2bd222a9149e25d /js
parent6fdb18b6418d17752ee868bc21584e747b84f809 (diff)
downloadbootstrap-38044e55aeeb80c370e9110a2e7d339d4575a222.tar.xz
bootstrap-38044e55aeeb80c370e9110a2e7d339d4575a222.zip
rebuild + fix #2539
Diffstat (limited to 'js')
-rw-r--r--js/popover.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/popover.js b/js/popover.js
index 130b3652d..7abca8acb 100644
--- a/js/popover.js
+++ b/js/popover.js
@@ -27,6 +27,8 @@
this.init('popover', element, options)
}
+ if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
+
Popover.DEFAULTS = $.extend({} , $.fn.tooltip.Constructor.DEFAULTS, {
placement: 'right'
, trigger: 'click'