Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'js/dist/tooltip.js')
-rw-r--r--js/dist/tooltip.js19
1 files changed, 9 insertions, 10 deletions
diff --git a/js/dist/tooltip.js b/js/dist/tooltip.js
index 632dc67bcd..b7b05d7a3d 100644
--- a/js/dist/tooltip.js
+++ b/js/dist/tooltip.js
@@ -10,19 +10,10 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
*/
var Tooltip = function ($) {
/**
- * Check for Popper dependency
- * Popper - https://popper.js.org
- */
- if (typeof Popper === 'undefined') {
- throw new Error('Bootstrap tooltips require Popper.js (https://popper.js.org)');
- }
- /**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
-
var NAME = 'tooltip';
var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.tooltip';
@@ -106,7 +97,15 @@ var Tooltip = function ($) {
/*#__PURE__*/
function () {
function Tooltip(element, config) {
- // private
+ /**
+ * Check for Popper dependency
+ * Popper - https://popper.js.org
+ */
+ if (typeof Popper === 'undefined') {
+ throw new Error('Bootstrap tooltips require Popper.js (https://popper.js.org)');
+ } // private
+
+
this._isEnabled = true;
this._timeout = 0;
this._hoverState = '';