diff --git a/CHANGELOG.md b/CHANGELOG.md index 0bfd128..56de4e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [2.1.3](https://github.com/oupala/apaxy/compare/2.1.2...2.1.3) (2019-07-18) + + +### Bug Fixes + +* remove useless js ([afa2e51](https://github.com/oupala/apaxy/commit/afa2e51)), closes [#132](https://github.com/oupala/apaxy/issues/132) + + + ## [2.1.2](https://github.com/oupala/apaxy/compare/2.1.1...2.1.2) (2019-06-04) diff --git a/apaxy/theme/apaxy.js b/apaxy/theme/apaxy.js index 608b377..cc2080a 100644 --- a/apaxy/theme/apaxy.js +++ b/apaxy/theme/apaxy.js @@ -1,13 +1,3 @@ -// fix links when not adding a / at the end of the URI -var uri = window.location.pathname.substr(1); -if (uri.substring(uri.length - 1) !== '/') { - var indexes = document.getElementsByClassName('indexcolname'); - for (let i of indexes) { - var a = i.getElementsByTagName('a')[0]; - a.href = '/' + a.getAttribute('href', 2); - } -} - // content filtering, based on "light javascript table filter" by Chris Coyier // https://codepen.io/chriscoyier/pen/tIuBL - MIT License (function(document) {