diff options
author | uPagge <git@upagge.ru> | 2021-07-27 10:49:58 +0300 |
---|---|---|
committer | uPagge <git@upagge.ru> | 2021-07-27 10:49:58 +0300 |
commit | e7b1307695a53e74de6ca4f618c244919d46db60 (patch) | |
tree | 546f16de79c28f17cb9ea231e709502197772871 /src | |
parent | 17abb3f20411c94a69314e35b30a5992484d0212 (diff) |
fix ipad toc
Diffstat (limited to 'src')
-rw-r--r-- | src/js/theme.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/theme.js b/src/js/theme.js index 0282b75..a664027 100644 --- a/src/js/theme.js +++ b/src/js/theme.js @@ -13,7 +13,7 @@ class Util { } isTocStatic() { - return window.matchMedia('only screen and (max-width: 960px)').matches; + return window.matchMedia('only screen and (max-width: 1200px)').matches; } animateCSS(element, animation, reserved, callback) { @@ -679,4 +679,4 @@ if (document.readyState !== 'loading') { themeInit(); } else { document.addEventListener('DOMContentLoaded', themeInit, false); -}
\ No newline at end of file +} |