From 078538add2da6fb4071882aaf117b29a52b2ec04 Mon Sep 17 00:00:00 2001 From: Joshua Miller <37462274+CodingPupper3033@users.noreply.github.com> Date: Sun, 12 Nov 2023 06:55:12 -0500 Subject: [PATCH] Minor documentation updates (#5900) * Fixed typo * Minor description adjustment --- docs/docs/extend/plugins/urls.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/extend/plugins/urls.md b/docs/docs/extend/plugins/urls.md index b76bb3ac16..82f58b1051 100644 --- a/docs/docs/extend/plugins/urls.md +++ b/docs/docs/extend/plugins/urls.md @@ -97,7 +97,7 @@ Example: {% endraw %} ``` Notice that this example has the panel initially hidden. -This is where the `enableSidebar('...');'` function comes back into play. Panels are enabled according to the labels of items in the sidebar. Each sidebar item must declare a label corresponding to a panel. An example of a sidebar item within with the label `sublocations` is below. +This is where the `enableSidebar('...');'` function comes back into play. Panels are enabled according to the labels of items in the sidebar. Each sidebar item must declare a label corresponding to a panel. An example of a sidebar item within with the label `loans` is below. ```html {% raw %} @@ -111,7 +111,7 @@ The `enableSidebar('...');'` function will un-hide the panel with the label `pan Whenever you click a sidebar item, it will automatically enable the panel with the corresponding label and hide all other panels. Additionally, when a panel is loaded, the function `onPanelLoad(...)` will be called for the associated panel. -If you would like to add javascript functionality to a panel, add the function within the `{% raw %}{% block js_ready %}{% endraw %}` block of your template file. +If you would like to add javascript functionality to a panel after it loads, add the function within the `{% raw %}{% block js_ready %}{% endraw %}` block of your template file. Example: ```js