mirror of https://github.com/jumpserver/jumpserver
fix: core download page error
parent
be57b101ff
commit
7e6d2749ae
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue