Remove the outdated styleModal call

This commit is contained in:
Alex Ling 2020-12-31 14:07:28 +00:00
parent af0913df64
commit e64908ad06

View File

@ -21,9 +21,7 @@
<% content_for "script" do %>
<script>
UIkit.modal('#modal').show().then(function() {
styleModal();
});
UIkit.modal('#modal').show();
UIkit.util.on('#modal', 'hide', function() {
location.href = "<%= base_url %>book/<%= entry.book.id %>";
});