Skip to content

Commit

Permalink
refresh page on image uploading screen
Browse files Browse the repository at this point in the history
  • Loading branch information
parterburn committed May 13, 2024
1 parent 808e486 commit 691093f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/views/entries/_entry.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
%br
%p{style: "margin-top: 10px;"} Generating...
:javascript
setTimeout(function() { location.reload(); }, 5000);
setTimeout(function() { location.reload(); }, 4500);
- if current_user.is_pro?
= entry.spotify_embed
Expand All @@ -71,6 +71,9 @@
.pictureFrame
=link_to entry.image_url_cdn, target: "_blank" do
=image_code(entry)
- if entry.image_url_cdn == "https://dabble-me.s3.amazonaws.com/uploading.png"
:javascript
setTimeout(function() { location.reload(); }, 4500);
.clearfix

:javascript
Expand Down

0 comments on commit 691093f

Please sign in to comment.