From: Chris Oyler Date: Thu, 14 Jan 2016 21:08:00 +0000 (-0800) Subject: fixes #7863, oversight of not including the templateClasses option in the addClass... X-Git-Tag: v6.1.2~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37ccb80b04b7ded9d1b5810c79d0b047b61cbdf1;p=thirdparty%2Ffoundation%2Ffoundation-sites.git fixes #7863, oversight of not including the templateClasses option in the addClass call on init --- diff --git a/js/foundation.tooltip.js b/js/foundation.tooltip.js index 88fd08ba7..3b4014422 100644 --- a/js/foundation.tooltip.js +++ b/js/foundation.tooltip.js @@ -161,7 +161,7 @@ * @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 = $('
').addClass(templateClasses).attr({ 'role': 'tooltip', 'aria-hidden': true,