diff options
author | Mark Otto <markdotto@gmail.com> | 2017-09-13 08:24:15 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2017-09-13 08:24:15 +0300 |
commit | 75d435f76e48b19007495a02e79b0d41f2690361 (patch) | |
tree | 56fd67d5a60a1fe5442c969d29918db4f463b827 /js/dist/tooltip.js | |
parent | 5becfa6fb1c04b57020737d7c352404e72766a0a (diff) |
dist
Diffstat (limited to 'js/dist/tooltip.js')
-rw-r--r-- | js/dist/tooltip.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/js/dist/tooltip.js b/js/dist/tooltip.js index f85882a8b4..b83a002a26 100644 --- a/js/dist/tooltip.js +++ b/js/dist/tooltip.js @@ -108,14 +108,14 @@ var Tooltip = function () { FOCUS: 'focus', CLICK: 'click', MANUAL: 'manual' - }; - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + }; var Tooltip = function () { function Tooltip(element, config) { _classCallCheck(this, Tooltip); @@ -569,18 +569,18 @@ var Tooltip = function () { value: function _getConfig(config) { config = $.extend({}, this.constructor.Default, $(this.element).data(), config); - if (config.delay && typeof config.delay === 'number') { + if (typeof config.delay === 'number') { config.delay = { show: config.delay, hide: config.delay }; } - if (config.title && typeof config.title === 'number') { + if (typeof config.title === 'number') { config.title = config.title.toString(); } - if (config.content && typeof config.content === 'number') { + if (typeof config.content === 'number') { config.content = config.content.toString(); } |