Skip to content

Commit

Permalink
chore: remove the deprecated positionClass in tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRuf committed Mar 15, 2018
1 parent 7f9e3ed commit 2f541a2
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions js/foundation.tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = $('<div></div>').addClass(templateClasses).attr({
'role': 'tooltip',
'aria-hidden': true,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2f541a2

Please sign in to comment.