parent
849b4cf004
commit
dcbddfc6cd
2 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
function setLibrary(library_id) {
|
||||
if (library_id == "-1") {
|
||||
} else {
|
||||
window.location.href = "/stats";
|
||||
} else {
|
||||
window.location.href = "/stats/" + library_id;
|
||||
}
|
||||
window.location.href = "/stats/" + library_id;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{{template "head"}}
|
||||
<script src="/static/js/library_filter.js"></script>
|
||||
<h2>Stats</h2>
|
||||
<label for="library">Library:</label>
|
||||
<select id="library" name="library" onchange="setLibrary(this.value)" class="short-button">
|
||||
|
|
Loading…
Add table
Reference in a new issue