bootstrap needs to be included before jQuery UI, otherwise close icon in the dialog will be missing

This commit is contained in:
azivner 2017-09-06 21:41:12 -04:00
parent 7bc322f9a1
commit 16485576c8
2 changed files with 4 additions and 5 deletions

View file

@ -115,6 +115,10 @@
<script src="stat/lib/jquery.min.js"></script>
<!-- bootstrap needs to be included before jQuery UI, otherwise close icon in the dialog will be missing -->
<link href="stat/lib/bootstrap/css/bootstrap.css" rel="stylesheet">
<script src="stat/lib/bootstrap/js/bootstrap.js"></script>
<link href="stat/lib/jqueryui/jquery-ui.min.css" rel="stylesheet">
<script src="stat/lib/jqueryui/jquery-ui.min.js"></script>
@ -122,9 +126,6 @@
<link href="stat/lib/fancytree/skin-win8/ui.fancytree.css" rel="stylesheet">
<script src="stat/lib/fancytree/jquery.fancytree-all.js"></script>
<link href="stat/lib/bootstrap/css/bootstrap.css" rel="stylesheet">
<script src="stat/lib/bootstrap/js/bootstrap.js"></script>
<link href="stat/lib/summernote/summernote.css" rel="stylesheet">
<script src="stat/lib/summernote/summernote.js"></script>

View file

@ -4,8 +4,6 @@ $(function() {
if (fancyTree.length) {
fancyTree.height($(window).height() - fancyTree.offset().top - 10);
console.log("height: ", $(window).height() - fancyTree.offset().top - 10);
}
const noteEditable = $('div.note-editable');