Browse Source

fix #2486: Fix examples cannot display bug

zhixin 9 years ago
parent
commit
8e5ec6ba9b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/assets/js/common.js

+ 2 - 2
docs/assets/js/common.js

@@ -22,7 +22,7 @@ $(function () {
     });
     });
 
 
     // examples
     // examples
-    $('#examples').load('/wenzhixin/bootstrap-table/issues/1765 #issue-119870991 .comment-content', function () {
+    $('#examples').load('/wenzhixin/bootstrap-table/issues/1765 #issue-119870991 .comment-body', function () {
         var $this = $(this);
         var $this = $(this);
         $this.find('h1').each(function () {
         $this.find('h1').each(function () {
             $(this).after('<hr>');
             $(this).after('<hr>');
@@ -80,4 +80,4 @@ function methodFormatter(value) {
     }
     }
     var href = 'http://issues.wenzhixin.net.cn/bootstrap-table/#methods/' + value + '.html';
     var href = 'http://issues.wenzhixin.net.cn/bootstrap-table/#methods/' + value + '.html';
     return '<a target="_blank" href="' + href + '"><i class="glyphicon glyphicon-screenshot"></i></a>';
     return '<a target="_blank" href="' + href + '"><i class="glyphicon glyphicon-screenshot"></i></a>';
-}
+}