!2 解决使用 mathJax 错误问题

Merge pull request !2 from 魏巍/fix-use-mathJax-error
This commit is contained in:
魏巍 2019-02-28 16:07:01 +08:00
commit c493b9651f
3 changed files with 4661 additions and 3545 deletions

7108
libs/jquery.js vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -76,7 +76,7 @@ class PjaxAdapter extends Adapter {
$.pjax({
// needs full path for pjax to work with Firefox as per cross-domain-content setting
url: location.protocol + '//' + location.host + path,
container: $pjaxContainer,
container: '#' + $pjaxContainer.attr('id'),
fragment: fragment,
timeout: 0 // global timeout doesn't seem to work, use this instead
})