mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
remove old unused js, only show new followers for page 1
This commit is contained in:
parent
baff1d23e6
commit
577cd0a82a
2 changed files with 1 additions and 12 deletions
|
@ -1,8 +1,3 @@
|
||||||
<script type="text/javascript">
|
|
||||||
function getPage(currentPage) {
|
|
||||||
document.location.href = '?current_page='+currentPage+'&activity=<%= Rack::Utils.escape(params[:activity]) %>'
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
<script src="/js/news/template.js"></script>
|
<script src="/js/news/template.js"></script>
|
||||||
<script src="/js/news/like.js"></script>
|
<script src="/js/news/like.js"></script>
|
||||||
<script src="/js/news/comment.js"></script>
|
<script src="/js/news/comment.js"></script>
|
||||||
|
@ -10,7 +5,7 @@
|
||||||
<script src="/js/news/event.js"></script>
|
<script src="/js/news/event.js"></script>
|
||||||
<script src="/js/news/site.js"></script>
|
<script src="/js/news/site.js"></script>
|
||||||
|
|
||||||
<% if defined?(site) && !params[:event_id] %>
|
<% if defined?(site) && !params[:event_id] && (params[:page].blank? || params[:page] == '1') %>
|
||||||
<% follow_events = site.newest_follows %>
|
<% follow_events = site.newest_follows %>
|
||||||
<% unless follow_events.empty? %>
|
<% unless follow_events.empty? %>
|
||||||
<div class="news-item follow">
|
<div class="news-item follow">
|
||||||
|
|
|
@ -1,9 +1,3 @@
|
||||||
<script type="text/javascript">
|
|
||||||
function getPage(page) {
|
|
||||||
document.location.href = '/browse?page='+page+'&'+$('#search_criteria').serialize();
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div class="header-Outro with-columns browse-page">
|
<div class="header-Outro with-columns browse-page">
|
||||||
<div class="row content">
|
<div class="row content">
|
||||||
<div class="col col-100">
|
<div class="col col-100">
|
||||||
|
|
Loading…
Add table
Reference in a new issue