aboutsummaryrefslogtreecommitdiff
path: root/js/src/tooltip.js
diff options
context:
space:
mode:
authorPierre-Denis Vanduynslager <[email protected]>2016-10-20 14:25:00 -0400
committerPierre-Denis Vanduynslager <[email protected]>2016-10-20 14:25:00 -0400
commit9ee304b973a5675a7a59406fdaeef20870f566ce (patch)
tree8820ad86b8cd5899ea1d2c9050881b4ff56c8fee /js/src/tooltip.js
parent27cf3d675c80029ff2cea1e14903886c00119e37 (diff)
parentb5890e0608ad2262cde4a38e90afa19f1cb5d852 (diff)
downloadbootstrap-9ee304b973a5675a7a59406fdaeef20870f566ce.tar.xz
bootstrap-9ee304b973a5675a7a59406fdaeef20870f566ce.zip
Merge branch 'twbs/v4-dev' into v4-dev
Diffstat (limited to 'js/src/tooltip.js')
-rw-r--r--js/src/tooltip.js11
1 files changed, 5 insertions, 6 deletions
diff --git a/js/src/tooltip.js b/js/src/tooltip.js
index 0b3ba3669..c21eb0cda 100644
--- a/js/src/tooltip.js
+++ b/js/src/tooltip.js
@@ -5,7 +5,7 @@ import Util from './util'
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-alpha.3): tooltip.js
+ * Bootstrap (v4.0.0-alpha.5): tooltip.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -14,10 +14,10 @@ const Tooltip = (($) => {
/**
* Check for Tether dependency
- * Tether - http://github.hubspot.com/tether/
+ * Tether - http://tether.io/
*/
if (window.Tether === undefined) {
- throw new Error('Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)')
+ throw new Error('Bootstrap tooltips require Tether (http://tether.io/)')
}
@@ -28,7 +28,7 @@ const Tooltip = (($) => {
*/
const NAME = 'tooltip'
- const VERSION = '4.0.0-alpha.3'
+ const VERSION = '4.0.0-alpha.5'
const DATA_KEY = 'bs.tooltip'
const EVENT_KEY = `.${DATA_KEY}`
const JQUERY_NO_CONFLICT = $.fn[NAME]
@@ -38,7 +38,6 @@ const Tooltip = (($) => {
const Default = {
animation : true,
template : '<div class="tooltip" role="tooltip">'
- + '<div class="tooltip-arrow"></div>'
+ '<div class="tooltip-inner"></div></div>',
trigger : 'hover focus',
title : '',
@@ -611,7 +610,7 @@ const Tooltip = (($) => {
let _config = typeof config === 'object' ?
config : null
- if (!data && /destroy|hide/.test(config)) {
+ if (!data && /dispose|hide/.test(config)) {
return
}