diff options
| author | vsn4ik <[email protected]> | 2017-09-11 22:44:42 +0300 |
|---|---|---|
| committer | vsn4ik <[email protected]> | 2017-09-11 22:44:42 +0300 |
| commit | d5890cb82f4dcd2b5b8e2e6d4d7bebd1026e2228 (patch) | |
| tree | 41a17a7b6e6ca2f6749b32f934d013e41ff29fbb /js | |
| parent | 7add90db9c71766c2be81252791a4ae281d0be6d (diff) | |
| download | bootstrap-d5890cb82f4dcd2b5b8e2e6d4d7bebd1026e2228.tar.xz bootstrap-d5890cb82f4dcd2b5b8e2e6d4d7bebd1026e2228.zip | |
Remove not necessary condition in tooltip.js
Diffstat (limited to 'js')
| -rw-r--r-- | js/src/tooltip.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/src/tooltip.js b/js/src/tooltip.js index 5dc28ab7e..ca7e52b14 100644 --- a/js/src/tooltip.js +++ b/js/src/tooltip.js @@ -622,18 +622,18 @@ const Tooltip = (() => { 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() } |
