]> git.0d.be Git - chloro.git/blobdiff - chloro/phyll/static/js/chloro.js
also create toc for anonymous visits
[chloro.git] / chloro / phyll / static / js / chloro.js
index 45b0d6c28489013cba4004e86407408b4d9bc60b..ecc6c97d031f59b2f6bcc777aa9352d9415cba83 100644 (file)
@@ -581,6 +581,9 @@ $(function() {
     }
   });
   $('#quickedit input').trigger('change');
+  if ($('#quickedit input').length == 0) {
+    create_toc();
+  }
   $('.search-results').empty();
   $('#search-enable').on('change', function() {
     if ($(this).is(':checked')) {