mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
parent
624680bb93
commit
3de0d66b2d
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleClickOff(e) {
|
function handleClickOff(e) {
|
||||||
if (window.matchMedia('max-width: 650px')) {
|
if (window.matchMedia('(max-width: 650px)').matches) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
$('body').toggleClass('off-canvas');
|
$('body').toggleClass('off-canvas');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue