From: Daniel Ruf Date: Thu, 15 Mar 2018 21:42:37 +0000 (+0100) Subject: chore: remove the deprecated positionClass in tooltip X-Git-Tag: v6.6.0~3^2~276^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f541a28e;p=thirdparty%2Ffoundation%2Ffoundation-sites.git chore: remove the deprecated positionClass in tooltip --- diff --git a/js/foundation.tooltip.js b/js/foundation.tooltip.js index 7b2e26330..e91478819 100644 --- a/js/foundation.tooltip.js +++ b/js/foundation.tooltip.js @@ -102,7 +102,7 @@ class Tooltip extends Positionable { * @private */ _buildTemplate(id) { - var templateClasses = (`${this.options.tooltipClass} ${this.options.positionClass} ${this.options.templateClasses}`).trim(); + var templateClasses = (`${this.options.tooltipClass} ${this.options.templateClasses}`).trim(); var $template = $('
').addClass(templateClasses).attr({ 'role': 'tooltip', 'aria-hidden': true, @@ -378,13 +378,6 @@ Tooltip.defaults = { * @default true */ clickOpen: true, - /** - * DEPRECATED Additional positioning classes, set by the JS - * @option - * @type {string} - * @default '' - */ - positionClass: '', /** * Position of tooltip. Can be left, right, bottom, top, or auto. * @option