]> BookStack Code Mirror - bookstack/blobdiff - resources/assets/js/global.js
Added recent pages to home view and made the home content more compact
[bookstack] / resources / assets / js / global.js
index a61299d215f9cb445d92286d549b86012b80ed59..90b03e8568ed3593583a85635cc812e653890b40 100644 (file)
@@ -106,6 +106,12 @@ $(function () {
         }
     });
 
+    // Common jQuery actions
+    $('[data-action="expand-entity-list-details"]').click(function() {
+        $('.entity-list.compact').find('p').slideToggle(240);
+    });
+
+
 });