remove gitiegnore to public

This commit is contained in:
2026-06-15 11:37:20 +07:00
parent e96d58dcb4
commit bfb1af2417
988 changed files with 308081 additions and 1 deletions

View File

@@ -0,0 +1,32 @@
(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);