make the more button work in the mobile site, also, i finally fixed the timeago stuff in the scroll
This commit is contained in:
parent
2e50375eed
commit
bc82dac61c
3 changed files with 9 additions and 5 deletions
|
|
@ -13,8 +13,7 @@
|
|||
|
||||
#main_stream.stream
|
||||
= render 'shared/stream', :posts => @fakes
|
||||
%a.paginate
|
||||
= t("more")
|
||||
= will_paginate @posts
|
||||
|
||||
|
||||
%a.more-link.paginate{:href => '#'}
|
||||
%h2= t("more")
|
||||
#small{:style => "font-size:x-small"}
|
||||
= will_paginate @posts
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ $(document).ready(function() {
|
|||
.detach()
|
||||
.appendTo("#main_stream")
|
||||
.css("display", "block");
|
||||
$("abbr.timeago").timeago();
|
||||
});
|
||||
|
||||
$(window).unbind('.infscr');
|
||||
|
|
|
|||
|
|
@ -121,6 +121,10 @@ a.ui-link-inherit
|
|||
:font
|
||||
:size larger
|
||||
|
||||
.more-link
|
||||
:line-height 4em
|
||||
:text-align center
|
||||
|
||||
.time
|
||||
:color #ccc
|
||||
:font
|
||||
|
|
|
|||
Loading…
Reference in a new issue