diff --git a/index.htm b/index.htm index 7bbe99d..e1601a9 100644 --- a/index.htm +++ b/index.htm @@ -11,6 +11,8 @@ + + @@ -22,32 +24,30 @@ -
- An easy way to manage your articles, profile and views for telegra.ph. -
-+ An easy way to manage your articles, profile and views for telegra.ph. +
Warning! To be able log into this account again you will need this token:
diff --git a/main.js b/main.js
index 7bd78ae..4128998 100644
--- a/main.js
+++ b/main.js
@@ -21,7 +21,7 @@ $(document).ready(function(){
// Window scroll for loading more pages
window.onscroll = function(){
// Trigger loading of more pages when there are still cards to scroll
- var triggerElement = $(".card:nth-last-child("+numberOfPagesToLoad+")");
+ var triggerElement = $(".article:nth-last-child("+numberOfPagesToLoad+")");
if(isScrolledIntoView(triggerElement)){
if(canLoadMore){
@@ -237,7 +237,7 @@ function loadPages(){
// Should the text read 'view' or 'views'
var s = this.views == 1 ? "" : "s";
- pageList.append(" "+this.views+" view"+s+" "+this.description+" "+this.views+" view"+s+" "+this.description+""+this.title+"
"+this.title+"