mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-15 17:49:40 +08:00
适配新版搜索
This commit is contained in:
parent
26030e4aa9
commit
97b4d2d0e0
@ -62,7 +62,7 @@ $(document).on('click', 'a[target!=_blank][href]:not(data-not-pjax)', (event) =>
|
||||
|
||||
$(document).on('submit', 'form[data-pjax]', function (event) {
|
||||
$.pjax.submit(event, '.column-main', {
|
||||
scrollTo: 0,
|
||||
scrollTo: computeScrollTop(event.currentTarget),
|
||||
fragment: '.column-main',
|
||||
serialNumber: createSerialNumber(),
|
||||
timeout: 8000,
|
||||
|
Loading…
x
Reference in New Issue
Block a user