diff options
| author | fat <[email protected]> | 2015-05-12 16:52:54 -0700 |
|---|---|---|
| committer | fat <[email protected]> | 2015-05-12 16:52:54 -0700 |
| commit | ab1578465aee4a776412b48f16bfefca79381919 (patch) | |
| tree | 0766caa82a67cd6328273aa5f2a826c579d44d32 /js/src/tooltip.js | |
| parent | a58febf71a5eac2161ce2db08c7d723755ed1163 (diff) | |
| download | bootstrap-ab1578465aee4a776412b48f16bfefca79381919.tar.xz bootstrap-ab1578465aee4a776412b48f16bfefca79381919.zip | |
grunt test-js, grunt dist-js now working
Diffstat (limited to 'js/src/tooltip.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 a04085130..1bd018c0f 100644 --- a/js/src/tooltip.js +++ b/js/src/tooltip.js @@ -373,7 +373,7 @@ const Tooltip = (($) => { $(this.element).on( this.constructor.Event.CLICK, this.config.selector, - this.toggle.bind(this) + $.proxy(this.toggle, this) ) } else if (trigger !== Trigger.MANUAL) { @@ -388,12 +388,12 @@ const Tooltip = (($) => { .on( eventIn, this.config.selector, - this._enter.bind(this) + $.proxy(this._enter, this) ) .on( eventOut, this.config.selector, - this._leave.bind(this) + $.proxy(this._leave, this) ) } }) |
