diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-05-13 10:07:47 +0200 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-05-13 10:07:47 +0200 |
commit | 2b905ddcaf9ffcf66edb5a228f8626bc9ac7d78e (patch) | |
tree | 8c6ec536850c816eecabc1749e0dd5c3fb5fbe27 /ogcp/templates | |
parent | 17f8b25fe52913a92c0a9cf26c1d8ec1dc3472b9 (diff) |
js: prevent js exception in pages without pill control
Add check to test if a pill control has been found and don't try
to add mac data to non existent client pill controls.
Diffstat (limited to 'ogcp/templates')
-rw-r--r-- | ogcp/templates/base.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html index 49f9804..b54aed3 100644 --- a/ogcp/templates/base.html +++ b/ogcp/templates/base.html @@ -111,7 +111,7 @@ <!-- ChartJS --> <script src="{{ url_for('static', filename='AdminLTE/plugins/chart.js/Chart.min.js') }}"></script> - <script src="{{ url_for('static', filename='js/ogcp.js') }}?v=3"></script> + <script src="{{ url_for('static', filename='js/ogcp.js') }}?v=4"></script> <script> // error messages |