mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-15 01:25:28 +01:00
27 lines
562 B
JavaScript
27 lines
562 B
JavaScript
|
|
//=require ../../../node_modules/bootstrap/js/tooltip.js
|
|
|
|
var Tooltips = (function(w, d) {
|
|
|
|
var app, _private;
|
|
|
|
_private = {
|
|
tooltipsShow: function() {
|
|
$('[data-toggle="tooltip"]').tooltip({
|
|
placement: 'bottom',
|
|
template: '<div class="tooltip" role="tooltip"><div class="tooltip-inner"></div></div>',
|
|
container: 'body'
|
|
})
|
|
}
|
|
};
|
|
|
|
app = {
|
|
init: function() {
|
|
_private.tooltipsShow();
|
|
}
|
|
};
|
|
|
|
return app;
|
|
|
|
})(window, document);
|