aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--view/js/main.js2
-rw-r--r--view/js/mod_directory.js3
2 files changed, 5 insertions, 0 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 57fdb6c88..d2099b815 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -437,6 +437,8 @@ function updatePageItems(mode,data) {
pageHasMoreContent = false;
}
+ collapseHeight();
+
}
diff --git a/view/js/mod_directory.js b/view/js/mod_directory.js
index 291734b4f..40a094803 100644
--- a/view/js/mod_directory.js
+++ b/view/js/mod_directory.js
@@ -6,3 +6,6 @@ function dirdetails(hash) {
}
+$(document).ready(function() {
+ collapseHeight();
+} \ No newline at end of file