We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49f0586 commit e2e6cc7Copy full SHA for e2e6cc7
app/assets/javascripts/main.js
@@ -64,9 +64,11 @@ $(document).on("turbolinks:load", function() {
64
$('#zoomed-portfolio-item .loading').show()
65
66
$.get( "portfolio_items/zoomed_item?id=" + id, function(response) {
67
+ $('#zoomed-portfolio-item .zoom-content').hide();
68
$('#zoomed-portfolio-item .zoom-content').html(response)
69
$('#zoomed-portfolio-item .zoom-content img').on('load', function() {
70
$('#zoomed-portfolio-item .loading').hide();
71
+ $('#zoomed-portfolio-item .zoom-content').show();
72
});
73
})
74
.fail(function() {
0 commit comments