mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-31 15:11:27 +00:00
fix: core download page error
This commit is contained in:
@@ -147,6 +147,9 @@ function activeNav(prefix) {
|
||||
}
|
||||
var path = document.location.pathname;
|
||||
path = path.replace(prefix, '');
|
||||
if (path === '/core/download/') {
|
||||
return
|
||||
}
|
||||
var urlArray = path.split("/");
|
||||
var app = urlArray[1];
|
||||
var resource = urlArray[2];
|
||||
|
@@ -6,7 +6,7 @@
|
||||
<!-- Custom and plugin javascript -->
|
||||
<script src="{% static "js/plugins/toastr/toastr.min.js" %}"></script>
|
||||
<script src="{% static "js/inspinia.js" %}"></script>
|
||||
<script src="{% static "js/jumpserver.js" %}?v=9"></script>
|
||||
<script src="{% static "js/jumpserver.js" %}?v=10"></script>
|
||||
<script src="{% static 'js/plugins/select2/select2.full.min.js' %}"></script>
|
||||
<script src="{% static 'js/plugins/select2/i18n/zh-CN.js' %}"></script>
|
||||
<script src="{% static 'js/plugins/markdown-it.min.js' %}"></script>
|
||||
|
Reference in New Issue
Block a user