From 17d293d8605b5e59e0fb6abd293e2a98b46ec5ab Mon Sep 17 00:00:00 2001
From: Thibaut <thibaut@me.com>
Date: Mon, 16 Apr 2012 14:35:19 +0200
Subject: [PATCH] Added className option to tooltip

---
 js/bootstrap-tooltip.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/js/bootstrap-tooltip.js b/js/bootstrap-tooltip.js
index af2e589687..b13a1a81c3 100644
--- a/js/bootstrap-tooltip.js
+++ b/js/bootstrap-tooltip.js
@@ -110,6 +110,10 @@
           $tip.addClass('fade')
         }
 
+        if (this.options.className) {
+          $tip.addClass(this.options.className)
+        }
+
         placement = typeof this.options.placement == 'function' ?
           this.options.placement.call(this, $tip[0], this.$element[0]) :
           this.options.placement
@@ -270,6 +274,7 @@
   , trigger: 'hover'
   , title: ''
   , delay: 0
+  , className: ''
   }
 
 }(window.jQuery);
\ No newline at end of file
-- 
GitLab