summaryrefslogtreecommitdiff
path: root/app/views/tutorials
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-07-07 22:25:54 -0600
committermo khan <mo@mokhan.ca>2014-07-07 22:25:54 -0600
commit7f994b01baa0709d5dca2a2ecb223e6c29dc760f (patch)
treeedfeeb02447d7acda46d3f7b57aecb4ef1cf3788 /app/views/tutorials
parente0d05540f3c29c6f70a6c2f84a38085d20f7d028 (diff)
remove greeting class.
Diffstat (limited to 'app/views/tutorials')
-rw-r--r--app/views/tutorials/index.html.erb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/tutorials/index.html.erb b/app/views/tutorials/index.html.erb
index a981cc85..17794fa7 100644
--- a/app/views/tutorials/index.html.erb
+++ b/app/views/tutorials/index.html.erb
@@ -1,8 +1,7 @@
<% provide(:description, "The latest tutorials") -%>
<% content_for :javascript do -%>
<script type="text/javascript">
- var ready = function(){ new Masonry('#tutorials-div').load(); };
- $(document).ready(ready);
+ $(function(){ new Masonry('#tutorials-div').load(); });
</script>
<% end -%>
<div id="tutorials-div" class="row">