summaryrefslogtreecommitdiff
path: root/app/views/tutorials
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-01-05 20:52:07 -0700
committermo khan <mo@mokhan.ca>2014-01-05 20:52:07 -0700
commit2717861f730b382e7f683081ceea00d6344b67e4 (patch)
tree389d39320aa53ab5c0c324120eb536da7221dedf /app/views/tutorials
parentf7dfc2eea480ef6ca3eb6ad71db19b20451b0213 (diff)
remove turbolinks.
Diffstat (limited to 'app/views/tutorials')
-rw-r--r--app/views/tutorials/_form.html.erb1
-rw-r--r--app/views/tutorials/index.html.erb2
2 files changed, 0 insertions, 3 deletions
diff --git a/app/views/tutorials/_form.html.erb b/app/views/tutorials/_form.html.erb
index e6b19dc3..f6efd89d 100644
--- a/app/views/tutorials/_form.html.erb
+++ b/app/views/tutorials/_form.html.erb
@@ -7,7 +7,6 @@ $(function(){
$('#tags').tagit({ availableTags: all_tags });
};
$(document).ready(ready);
- $(document).on('page:load', ready);
});
</script>
<% end %>
diff --git a/app/views/tutorials/index.html.erb b/app/views/tutorials/index.html.erb
index 1d1b01f3..a981cc85 100644
--- a/app/views/tutorials/index.html.erb
+++ b/app/views/tutorials/index.html.erb
@@ -3,8 +3,6 @@
<script type="text/javascript">
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">