mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-02 19:05:32 -04:00
Remove the outdated styleModal
call
This commit is contained in:
parent
af0913df64
commit
e64908ad06
@ -21,9 +21,7 @@
|
|||||||
|
|
||||||
<% content_for "script" do %>
|
<% content_for "script" do %>
|
||||||
<script>
|
<script>
|
||||||
UIkit.modal('#modal').show().then(function() {
|
UIkit.modal('#modal').show();
|
||||||
styleModal();
|
|
||||||
});
|
|
||||||
UIkit.util.on('#modal', 'hide', function() {
|
UIkit.util.on('#modal', 'hide', function() {
|
||||||
location.href = "<%= base_url %>book/<%= entry.book.id %>";
|
location.href = "<%= base_url %>book/<%= entry.book.id %>";
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user