fix: fix css and js cros bug

This commit is contained in:
Dillon
2019-08-23 02:54:26 +08:00
parent 934c3a5156
commit c8bb0770e9
4 changed files with 39 additions and 40 deletions

View File

@@ -198,7 +198,7 @@ jQuery(function($) {
this._linkToc();
this._initToc();
// Listen for orientation changes
window.addEventListener("orientationchange", function() {
window.addEventListener("resize", function() {
this.setTimeout(_Blog._initToc, 0);
}, false);
}