diff options
| author | mo khan <mo@mokhan.ca> | 2014-01-04 16:58:33 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-01-04 16:58:33 -0700 |
| commit | f7dfc2eea480ef6ca3eb6ad71db19b20451b0213 (patch) | |
| tree | 8436787750180a76fdba806ea1a4a3ab13bfc522 /app/views/tutorials | |
| parent | 02b4887131ca6c23d33cb61ddb468e787ac129a5 (diff) | |
add page:restore.
Diffstat (limited to 'app/views/tutorials')
| -rw-r--r-- | app/views/tutorials/index.html.erb | 1 |
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"> |
