diff --git a/public/js/mypjax.js b/public/js/mypjax.js index fb7a7523..f08a8532 100644 --- a/public/js/mypjax.js +++ b/public/js/mypjax.js @@ -1,7 +1,7 @@ // 定义pjax 预设pjax var pjax = new Pjax({ // 这里填写页面中改变的部分(和 CSS 选择器用法一样) - selectors: ["#pjax-container"], + selectors: ["#pjax-container","title"], cacheBust: false, elements: "a", }); diff --git a/themes/Ying/static/js/mypjax.js b/themes/Ying/static/js/mypjax.js index fb7a7523..f08a8532 100644 --- a/themes/Ying/static/js/mypjax.js +++ b/themes/Ying/static/js/mypjax.js @@ -1,7 +1,7 @@ // 定义pjax 预设pjax var pjax = new Pjax({ // 这里填写页面中改变的部分(和 CSS 选择器用法一样) - selectors: ["#pjax-container"], + selectors: ["#pjax-container","title"], cacheBust: false, elements: "a", });