Fix js pushstate issue

This commit is contained in:
manson 2014-07-21 13:29:58 +08:00
parent b768952070
commit 62678d8d42
1 changed files with 5 additions and 1 deletions

View File

@ -56,4 +56,8 @@
content_tag :div, class: "bottomnav clearfix" do content_tag :div, class: "bottomnav clearfix" do
content_tag :div, paginate(@bulletins), class: "pagination pagination-centered" content_tag :div, paginate(@bulletins), class: "pagination pagination-centered"
end end
%> %>
<script>
if($('.orbit-bar').length==0) location.reload();
</script>