From 2f541a28ea08e2fdcafe7ff17198b6b08e8116ef Mon Sep 17 00:00:00 2001 From: Daniel Ruf Date: Thu, 15 Mar 2018 22:42:37 +0100 Subject: [PATCH] chore: remove the deprecated positionClass in tooltip --- js/foundation.tooltip.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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 -- 2.47.2