diff --git a/static/skin/index.js b/static/skin/index.js index 80ad0e77d..fd1c338ea 100644 --- a/static/skin/index.js +++ b/static/skin/index.js @@ -1,5 +1,5 @@ (function() { - const root = $(`link[type='root']`).attr('href'); + const root = document.querySelector(`link[type='root']`).getAttribute('href'); const incrementalLoadingParams = { start: 0, count: viewPortToCount() @@ -320,7 +320,7 @@ const booksToFilter = new Set(); const booksToDelete = new Set(); iso.arrange({ - filter: function (idx, elem) { + filter: function (elem) { const id = elem.getAttribute('data-id'); const retVal = bookOrderMap.has(id); if (retVal) { diff --git a/static/templates/index.html b/static/templates/index.html index cd4c63d3b..92ae7d7df 100644 --- a/static/templates/index.html +++ b/static/templates/index.html @@ -4,24 +4,6 @@