0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

Fixed 'G' button not working

Fixes #218.
This commit is contained in:
Matthew Harrison-Jones 2013-07-12 17:13:40 +01:00
parent 624680bb93
commit 3de0d66b2d

View file

@ -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');
} }