aboutsummaryrefslogtreecommitdiff
path: root/js/src/tooltip.js
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2017-07-27 12:58:22 +0200
committerXhmikosR <[email protected]>2017-08-23 00:05:38 +0300
commit6063b0dc659e7ba3a83cfc9502ad7872f8201a32 (patch)
tree70cb46f86e21b110a11be48f1c098405d393a270 /js/src/tooltip.js
parentef8c77d8dcebd13559a141e419d003c2d10cc5f3 (diff)
downloadbootstrap-6063b0dc659e7ba3a83cfc9502ad7872f8201a32.tar.xz
bootstrap-6063b0dc659e7ba3a83cfc9502ad7872f8201a32.zip
Enable the `no-return-assign` rule.
Diffstat (limited to 'js/src/tooltip.js')
-rw-r--r--js/src/tooltip.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/src/tooltip.js b/js/src/tooltip.js
index 721f04481..7dfe9dfc0 100644
--- a/js/src/tooltip.js
+++ b/js/src/tooltip.js
@@ -415,7 +415,8 @@ const Tooltip = (($) => {
}
getTipElement() {
- return this.tip = this.tip || $(this.config.template)[0]
+ this.tip = this.tip || $(this.config.template)[0]
+ return this.tip
}
setContent() {