Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/iglvzx/IGalvez.Autoindex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIzzy Galvez <i@igalvez.net>2015-10-25 06:43:37 +0300
committerIzzy Galvez <i@igalvez.net>2015-10-25 06:43:37 +0300
commit7c57e41d4644f4dcf3eeda67981c9f3363483a4e (patch)
tree9c93322502c50cc8e73ef8d4c4d24dbfdbfde601
parent7330f6689b06478687f6c8a8b1b8a401765e3b06 (diff)
set page title to full URL
-rw-r--r--.autoindex/script.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/.autoindex/script.js b/.autoindex/script.js
index cd2bfec..2ff2510 100644
--- a/.autoindex/script.js
+++ b/.autoindex/script.js
@@ -1,3 +1,5 @@
+document.title = document.URL; // set page title to full URL
+
$('table').addClass('table'); // add Bootstrap CSS to table
$('td').removeAttr('align'); // remove align="right" from cells