]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
chore: remove the deprecated positionClass in tooltip 11067/head
authorDaniel Ruf <daniel@daniel-ruf.de>
Thu, 15 Mar 2018 21:42:37 +0000 (22:42 +0100)
committerDaniel Ruf <daniel@daniel-ruf.de>
Thu, 15 Mar 2018 21:42:37 +0000 (22:42 +0100)
js/foundation.tooltip.js

index 7b2e26330e337597cd958a4a7e52b356b01e929a..e9147881980ef8922ff4c0af6f51c3041e0996dd 100644 (file)
@@ -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,
@@ -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