Load query.js in base as theme toggler JS requires it (#1449)
* Have to include query.js in very page because of theme toggler * Remove query from other files * remove query * Remove kebab * better color
Cette révision appartient à :
Parent
5a184bfb50
révision
6209dfbfb2
5 fichiers modifiés avec 2 ajouts et 4 suppressions
|
@ -114,7 +114,7 @@ td.tr-le, .error-text {
|
|||
}
|
||||
|
||||
.alt-colors tr:nth-child(odd) {
|
||||
background: hsla(231, 8%, 73%, 0.2);
|
||||
background: hsla(231, 6%, 80%, 0.2);
|
||||
}
|
||||
/* Original Nyaa colors, do NOT change! */
|
||||
|
||||
|
|
|
@ -91,6 +91,7 @@
|
|||
</footer>
|
||||
</div>
|
||||
<script type="text/javascript" charset="utf-8">var commitVersion = "{{ Config.Build }}", UserID = {{User.ID}};</script>
|
||||
<script type="text/javascript" src="/js/query.js?v={{ Config.Version}}{{ Config.Build }}"></script>
|
||||
<script type="text/javascript" charset="utf-8" src="/js/main.js?v={{ Config.Version }}{{ Config.Build }}" async></script>
|
||||
{{block footer_js()}}{{end}}
|
||||
</body>
|
||||
|
|
|
@ -173,7 +173,6 @@
|
|||
{{end}}
|
||||
{{ block footer_js()}}
|
||||
<script type="text/javascript" src="{{ URL.Parse("/js/template.js") }}"></script>
|
||||
<script type="text/javascript" src="{{ URL.Parse("/js/query.js") }}"></script>
|
||||
<script type="text/javascript" src="{{ URL.Parse("/js/modal.js") }}"></script>
|
||||
<script type="text/javascript" src="{{ URL.Parse("/js/torrents.js") }}"></script>
|
||||
<script type="text/javascript" src="{{ URL.Parse("/js/translation.js") }}"></script>
|
||||
|
|
|
@ -183,7 +183,6 @@
|
|||
</div>
|
||||
{{end}}
|
||||
{{ block footer_js()}}
|
||||
<script type="text/javascript" src="/js/query.js?v={{ Config.Version}}{{ Config.Build }}"></script>
|
||||
<script type="text/javascript" src="/js/translation.js?v={{ Config.Version}}{{ Config.Build }}"></script>
|
||||
<script type="text/javascript" src="/js/template.js?v={{ Config.Version}}{{ Config.Build }}"></script>
|
||||
<script type="text/javascript" src="/js/kilo.js?v={{ Config.Version}}{{ Config.Build }}"></script>
|
||||
|
|
|
@ -274,7 +274,6 @@
|
|||
{{ block footer_js()}}
|
||||
<script type="text/javascript" src="{{ URL.Parse("/js/modal.js") }}"></script>
|
||||
{{ if User.ID > 0 }}
|
||||
<script type="text/javascript" src="{{ URL.Parse("/js/query.js") }}"></script>
|
||||
<script type="text/javascript" src="{{ URL.Parse("/js/template.js") }}"></script>
|
||||
<script type="text/javascript" src="{{ URL.Parse("/js/modal.js") }}"></script>
|
||||
<script type="text/javascript" src="{{ URL.Parse("/js/translation.js") }}"></script>
|
||||
|
|
Référencer dans un nouveau ticket