views: move inline javascript to app bundle.

This commit is contained in:
evazion
2020-01-26 18:56:44 -06:00
parent 2265721cb2
commit aeec46b212
8 changed files with 42 additions and 52 deletions

View File

@@ -35,15 +35,3 @@
<% end %>
</div>
</div>
<% content_for(:html_header) do %>
<script type="text/javascript">
$(function() {
$("#link").click(function() {
$(".upload-preview > a").each(function(i, v) {
window.open(v.href);
});
});
})
</script>
<% end %>