Ind.ie is now Small Technology Foundation.
Commit 2c1d5d01 authored by Aral Balkan's avatar Aral Balkan

Fixed client-side updates

parent fe68d57d
......@@ -377,7 +377,7 @@
var existingData = set.data.data
var lastID = existingData[existingData.length-1].id;
var lastID = existingData[0].id;
superagent
.get('https://mastodon.social/api/v1/timelines/public')
......@@ -460,8 +460,8 @@
<h1><a href='./'><img id='set-logo' src='images/set-logo.svg' alt='Set logo'></a></h1>
</header>
<h2>Aral’s Mastodon – Global Timeline</h2>
<p>The latest <span data-set-text='data.length'>&lt;n&gt;</span> posts from <a href='https://mastodon.ar.al'>mastodon.ar.al</a>.</p><button id='refresh-timeline'>Refresh timeline <img id='progress-indicator' class='hide' src='images/ajax-loader.gif' alt='Loading'></button>
<h2>Mastodon.social – Global Timeline with client-side updates</h2>
<p>The latest <span data-set-text='data.length'>&lt;n&gt;</span> posts from <a href='https://mastodon.social'>mastodon.social</a>.</p><button id='refresh-timeline'>Refresh timeline <img id='progress-indicator' class='hide' src='images/ajax-loader.gif' alt='Loading'></button>
<ul>
<li data-set-if='not:error' data-set-repeat='post data'>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment