summaryrefslogtreecommitdiff
path: root/app/views/tutorials
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-01-04 16:58:33 -0700
committermo khan <mo@mokhan.ca>2014-01-04 16:58:33 -0700
commitf7dfc2eea480ef6ca3eb6ad71db19b20451b0213 (patch)
tree8436787750180a76fdba806ea1a4a3ab13bfc522 /app/views/tutorials
parent02b4887131ca6c23d33cb61ddb468e787ac129a5 (diff)
add page:restore.
Diffstat (limited to 'app/views/tutorials')
-rw-r--r--app/views/tutorials/index.html.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/tutorials/index.html.erb b/app/views/tutorials/index.html.erb
index d5206ae7..1d1b01f3 100644
--- a/app/views/tutorials/index.html.erb
+++ b/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">