summaryrefslogtreecommitdiff
path: root/bower_components/bootstrap-sass-official/assets/javascripts/bootstrap/popover.js
diff options
context:
space:
mode:
authorThomas Park <thomas@thomaspark.me>2015-03-17 14:23:20 -0400
committerThomas Park <thomas@thomaspark.me>2015-03-17 14:23:20 -0400
commit66e5c761eea0ce48fcf72844f043db4bcb43c6d9 (patch)
treee394156c0683a60f4cf7d8213fb0bbbf32001ae4 /bower_components/bootstrap-sass-official/assets/javascripts/bootstrap/popover.js
parent93738d763fd08637ccfd3ab322176b70f099d309 (diff)
update bootstrap 3.3.4
Diffstat (limited to 'bower_components/bootstrap-sass-official/assets/javascripts/bootstrap/popover.js')
-rw-r--r--bower_components/bootstrap-sass-official/assets/javascripts/bootstrap/popover.js11
1 files changed, 3 insertions, 8 deletions
diff --git a/bower_components/bootstrap-sass-official/assets/javascripts/bootstrap/popover.js b/bower_components/bootstrap-sass-official/assets/javascripts/bootstrap/popover.js
index be65b11a..0b0755ee 100644
--- a/bower_components/bootstrap-sass-official/assets/javascripts/bootstrap/popover.js
+++ b/bower_components/bootstrap-sass-official/assets/javascripts/bootstrap/popover.js
@@ -1,5 +1,5 @@
/* ========================================================================
- * Bootstrap: popover.js v3.3.2
+ * Bootstrap: popover.js v3.3.4
* http://getbootstrap.com/javascript/#popovers
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
@@ -19,7 +19,7 @@
if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
- Popover.VERSION = '3.3.2'
+ Popover.VERSION = '3.3.4'
Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
placement: 'right',
@@ -75,11 +75,6 @@
return (this.$arrow = this.$arrow || this.tip().find('.arrow'))
}
- Popover.prototype.tip = function () {
- if (!this.$tip) this.$tip = $(this.options.template)
- return this.$tip
- }
-
// POPOVER PLUGIN DEFINITION
// =========================
@@ -90,7 +85,7 @@
var data = $this.data('bs.popover')
var options = typeof option == 'object' && option
- if (!data && option == 'destroy') return
+ if (!data && /destroy|hide/.test(option)) return
if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
if (typeof option == 'string') data[option]()
})