]> source.dussan.org Git - sonarqube.git/commitdiff
force hide tooltip when destroying it
authorStas Vilchik <vilchiks@gmail.com>
Tue, 20 Dec 2016 12:55:46 +0000 (13:55 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Tue, 20 Dec 2016 12:55:58 +0000 (13:55 +0100)
server/sonar-web/src/main/js/libs/third-party/bootstrap/tooltip.js

index a3e36b85a0180aebe62655c4f5a859552d82cd25..4221dfafdd02021ffa555aef5bad6e6a26479485 100644 (file)
     var e    = $.Event('hide.bs.' + this.type)
 
     function complete() {
-      if (that.hoverState != 'in') $tip.detach()
+      $tip.detach()
       that.$element
         .removeAttr('aria-describedby')
         .trigger('hidden.bs.' + that.type)