Sotaro KARASAWA 10 лет назад
Родитель
Сommit
7ed0f3648b
1 измененных файлов с 1 добавлено и 1 удалено
  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>'));
   });
   });