Move the JS alert function definition to /js/alert.js and move the alert div to views/layout.ecr

This commit is contained in:
Alex Ling
2020-03-01 01:23:16 +00:00
parent d50804830d
commit 8fbc5528a8
10 changed files with 12 additions and 41 deletions
+1 -1
View File
@@ -1,4 +1,3 @@
<div id="alert"></div>
<h2 class=uk-title>Download from MangaDex</h2>
<div class="uk-grid-small" uk-grid>
<div class="uk-width-3-4">
@@ -79,5 +78,6 @@
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<script src="/js/alert.js"></script>
<script src="/js/download.js"></script>
<% end %>