]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
fixes #7863, oversight of not including the templateClasses option in the addClass...
authorChris Oyler <chris@zurb.com>
Thu, 14 Jan 2016 21:08:00 +0000 (13:08 -0800)
committerChris Oyler <chris@zurb.com>
Thu, 14 Jan 2016 21:08:00 +0000 (13:08 -0800)
js/foundation.tooltip.js

index 88fd08ba71405ddd182b229b43181add28bf3228..3b4014422c32235e5f45bcacb52ba0a4ea67dd37 100644 (file)
    * @private
    */
   Tooltip.prototype._buildTemplate = function(id){
-    var templateClasses = (this.options.tooltipClass + ' ' + this.options.positionClass).trim();
+    var templateClasses = (this.options.tooltipClass + ' ' + this.options.positionClass + ' ' + this.options.templateClasses).trim();
     var $template =  $('<div></div>').addClass(templateClasses).attr({
       'role': 'tooltip',
       'aria-hidden': true,