Server : LiteSpeed
System : Linux terra.hostitbro.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User : outerorb ( 1091)
PHP Version : 8.1.34
Disable Function : mail
Directory :  /home2/outerorb/dev.outerorbittech.com/oot/admin/js/

📁 Create New:
⬆️ Upload File:
Current Dir [ Writable ] Root [ Writable ]


OR Upload from URL:
URL: Save as:

📄 File: popover.js

Path: //home2/outerorb/dev.outerorbittech.com/oot/admin/js/popover.js

Size: 807 B

Permissions: 0644

(function($) {
  'use strict';
  $(function() {
    /* Code for attribute data-custom-class for adding custom class to tooltip */
    if (typeof $.fn.popover.Constructor === 'undefined') {
      throw new Error('Bootstrap Popover must be included first!');
    }

    var Popover = $.fn.popover.Constructor;

    // add customClass option to Bootstrap Tooltip
    $.extend(Popover.Default, {
      customClass: ''
    });

    var _show = Popover.prototype.show;

    Popover.prototype.show = function() {

      // invoke parent method
      _show.apply(this, Array.prototype.slice.apply(arguments));

      if (this.config.customClass) {
        var tip = this.getTipElement();
        $(tip).addClass(this.config.customClass);
      }

    };

    $('[data-toggle="popover"]').popover()
  });
})(jQuery);

← Back to Directory Edit File 🔒 Chmod

WP File Manager