1
0
mirror of https://github.com/oupala/apaxy.git synced 2025-09-15 01:22:22 +02:00

3 Commits
2.1.2 ... 2.1.3

Author SHA1 Message Date
oupala
f71e39d3b1 chore: bump version from 2.1.3-dev to 2.1.3 2019-07-18 22:46:51 +02:00
oupala
afa2e51970 fix: remove useless js
Remove some old js code which now seems useless. It aimed to fix links when not adding a / at the end of the URI.

fix #132
2019-07-18 19:03:30 +02:00
oupala
16618c9f11 chore: bump version from 2.1.2 to 2.1.3-dev 2019-07-18 16:59:20 +02:00
3 changed files with 10 additions and 11 deletions

View File

@@ -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)

View File

@@ -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) {

View File

@@ -1,6 +1,6 @@
{
"name": "apaxy",
"version": "2.1.2",
"version": "2.1.3",
"description": "A simple, customisable theme for your Apache directory listing.",
"main": "index.js",
"scripts": {