diff --git a/module/doc/js/tablecontents.js b/module/doc/js/tablecontents.js index 67560580a7..8428b4c6e5 100644 --- a/module/doc/js/tablecontents.js +++ b/module/doc/js/tablecontents.js @@ -213,7 +213,7 @@ $(function() $rootDom.addClass('open in has-list'); $input += $('[data-id=ulTreeModal]').html(); } - $rootDom.append($input); + $rootDom.preppend($input); $rootDom.find('input').focus(); break; case 'addCata' :