Commit 011676c7 authored by Armando Lüscher's avatar Armando Lüscher Committed by David Morley

Load tooltips after everything else to make sure all is loaded correctly. (#188)

parent a8e1649f
......@@ -156,11 +156,11 @@ $navs = [
<script src="node_modules/jquery/dist/jquery.min.js"></script>
<script src="node_modules/tablesorter/dist/js/jquery.tablesorter.combined.min.js"></script>
<script src="node_modules/tablesorter/dist/js/extras/jquery.tablesorter.pager.min.js"></script>
<script src="js/podup.js"></script>
<script src="node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
<script src="node_modules/popper.js/dist/popper.js"></script>
<script src="node_modules/featherlight/release/featherlight.min.js"></script>
<script src="node_modules/chart.js/dist/Chart.min.js"></script>
<?php $statsview && include_once __DIR__ . '/statsviewjs.php'; ?>
<script src="js/podup.js"></script>
</body>
</html>
......@@ -7,7 +7,6 @@ var $table = $('.tablesorter'),
};
$(document).ready(function () {
$('[data-toggle="tooltip"]').tooltip();
$('.openBtn').on('click', function () {
$('#podpull').modal({show: true});
$('.modal-body').load('/db/pull.php?debug=1&nowrite=1&domain=' + $(this).val(), function () {
......@@ -25,4 +24,5 @@ $(document).ready(function () {
})
.tablesorterPager(pagerOptions);
$('table').trigger('pageSize', 18);
$('[data-toggle="tooltip"]').tooltip();
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment