summaryrefslogtreecommitdiffstats
path: root/common/html-coverpage
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2017-03-20 11:42:56 +1100
committerChris Johns <chrisj@rtems.org>2017-03-20 11:42:56 +1100
commit81276042d235328168d75c6a736a9882244e8286 (patch)
treeb6d439bfb592c557fc788f8a88bbb52ddbd2343d /common/html-coverpage
parentwaf: Put back the 4.11 branch version. (diff)
downloadrtems-docs-81276042d235328168d75c6a736a9882244e8286.tar.bz2
Use a single top level version number.
Fix the path in the catalogue links to allow prefix testing on a local disk. Close #2940.
Diffstat (limited to 'common/html-coverpage')
-rw-r--r--common/html-coverpage/static/rtems/js/catalogue.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/html-coverpage/static/rtems/js/catalogue.js b/common/html-coverpage/static/rtems/js/catalogue.js
index ae32aed..42d8d5d 100644
--- a/common/html-coverpage/static/rtems/js/catalogue.js
+++ b/common/html-coverpage/static/rtems/js/catalogue.js
@@ -56,12 +56,12 @@ function paintCatalogue(xml) {
else
table += empty;
if (pdf)
- table += '<td><a href="' + '/' + pdf + '">' +
+ table += '<td><a href="' + pdf + '">' +
'<img src="' + pdfIcon + '" width="20" height="20"></a></td>\n';
else
table += empty;
if (singlehtml)
- table += '<td><a href="' + '/' + singlehtml + '">' +
+ table += '<td><a href="' + singlehtml + '">' +
'<img src="' + htmlIcon + '" width="20" height="20"></a></td>\n';
else
table += empty;