Permalink
Browse files

added html suffix to prev/next links in demolist js

  • Loading branch information...
1 parent fb3e0b0 commit 62616b8422e6ad047659362c1b6b00445b4b3e37 @sporritt sporritt committed Feb 27, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 demo/js/demo-list.js
View
@@ -58,8 +58,8 @@
demoInfo = jsPlumb.DemoList.find(demoId);
if (demoInfo) {
- var prevString = '<h5>Previous:</h5><a href="' + demoInfo.prev.id + '">' + demoInfo.prev.name + '</a>',
- nextString = '<h5>Next:</h5><a href="' + demoInfo.next.id + '">' + demoInfo.next.name + '</a>',
+ var prevString = '<h5>Previous:</h5><a href="' + demoInfo.prev.id + '.html">' + demoInfo.prev.name + '</a>',
+ nextString = '<h5>Next:</h5><a href="' + demoInfo.next.id + '.html">' + demoInfo.next.name + '</a>',
menuString = '<div class="menu"><a href="../doc/usage.html" class="mplink">view documentation</a>' +
'&nbsp;|&nbsp;<a href="../apidocs">view api docs</a>' +
'&nbsp;|&nbsp;<a href="../../tests/qunit-all.html">qUnit tests</a>' +

0 comments on commit 62616b8

Please sign in to comment.