Browse Source

Fix: list page hightlight

Sotaro KARASAWA 10 years ago
parent
commit
7ed0f3648b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resource/js/crowi.js

+ 1 - 1
resource/js/crowi.js

@@ -301,7 +301,7 @@ $(function() {
     var path = $link.data('path');
     var path = $link.data('path');
     var shortPath = $link.data('short-path');
     var shortPath = $link.data('short-path');
 
 
-    $link.html(path.replace(new RegExp(shortPath + '$'), '<strong>' + shortPath + '</strong>'));
+    $link.html(path.replace(new RegExp(shortPath + '/?$'), '<strong>' + shortPath + '</strong>'));
   });
   });