mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
capture_once jekyll plugin, autosize fixes
This commit is contained in:
15
js/tabler.js
15
js/tabler.js
@@ -59,21 +59,6 @@ $(document).ready(function() {
|
||||
// $('[data-toggle="tooltip"]').tooltip();
|
||||
// $('[data-toggle="popover"]').popover();
|
||||
|
||||
/*
|
||||
Autosize plugin
|
||||
*/
|
||||
if (window.autosize) {
|
||||
(function() {
|
||||
const elements = document.querySelectorAll('[data-toggle="autosize"]');
|
||||
|
||||
if (elements.length) {
|
||||
elements.forEach(function(element) {
|
||||
autosize(element);
|
||||
});
|
||||
}
|
||||
})();
|
||||
}
|
||||
|
||||
/*
|
||||
Imask plugin
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user