From 4df785af45cb504c2ffab55d659efb3d3c610ab6 Mon Sep 17 00:00:00 2001 From: Joe Sak Date: Tue, 1 Mar 2011 20:33:40 -0600 Subject: Kill AJAX based post nav -- let's shoot for HTML5 History API soon --- app/views/blog/posts/show.html.erb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/views/blog/posts/show.html.erb b/app/views/blog/posts/show.html.erb index 48ca0b8..504db2c 100644 --- a/app/views/blog/posts/show.html.erb +++ b/app/views/blog/posts/show.html.erb @@ -60,7 +60,8 @@ <% content_for :head_libraries, jquery_include_tags(:jquery_ui => false) %> <% content_for :head do %> <%= stylesheet_link_tag 'refinerycms-blog' %> - <%= javascript_include_tag('refinerycms-blog') %> + <%# enable AJAX'd post nav at your own risk until html5 history API implemented. %> + <%#= javascript_include_tag('refinerycms-blog') %> <% if BlogPost::ShareThis.enabled? %> @@ -70,7 +71,8 @@ <% content_for :stylesheets, stylesheet_link_tag('refinerycms-blog') %> <% content_for :before_javascript_libraries, jquery_include_tags(:jquery_ui => false) %> <% content_for :javascripts do %> - <%= javascript_include_tag 'refinerycms-blog' %> + <%# enable AJAX'd post nav at your own risk until html5 history API implemented. %> + <%#= javascript_include_tag('refinerycms-blog') %> <% end if BlogPost::ShareThis.enabled? %> -- cgit v1.2.3