Commit f7dfc2ee
Changed files (2)
app
views
creations
tutorials
app/views/creations/index.html.erb
@@ -4,6 +4,7 @@
var ready = function(){ new Masonry('#creations-div').load(); };
$(document).ready(ready);
$(document).on('page:load', ready);
+ $(document).on('page:restore', ready);
</script>
<% end -%>
<% unless user_signed_in? -%>
app/views/tutorials/index.html.erb
@@ -4,6 +4,7 @@
var ready = function(){ new Masonry('#tutorials-div').load(); };
$(document).ready(ready);
$(document).on('page:load', ready);
+ $(document).on('page:restore', ready);
</script>
<% end -%>
<div id="tutorials-div" class="row">