File diff suppressed because it is too large
Load Diff
@@ -172,11 +172,7 @@
|
||||
<input type="button" value="upload m3u8">
|
||||
</div>
|
||||
</form>
|
||||
<script>
|
||||
document.getElementById("playlist-upload-input").onchange = (e) => {
|
||||
document.getElementById("playlist-upload-form").submit();
|
||||
}
|
||||
</script>
|
||||
<script src="{{ path "/admin/static/playlist-upload.js" }}"></script>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
3
server/assets/static/playlist-upload.js
Normal file
3
server/assets/static/playlist-upload.js
Normal file
@@ -0,0 +1,3 @@
|
||||
document.getElementById("playlist-upload-input").onchange = e => {
|
||||
document.getElementById("playlist-upload-form").submit();
|
||||
};
|
||||
Reference in New Issue
Block a user