Closing 'RHS' on mobile when jump link is clicked (#2825)

Этот коммит содержится в:
Christopher Speller
2016-05-02 08:08:05 -04:00
родитель c63e027aec
Коммит 29b91301a6
2 изменённых файлов: 29 добавлений и 5 удалений

Просмотреть файл

@@ -937,7 +937,7 @@ export function isValidUsername(name) {
}
export function isMobile() {
return screen.width <= 768;
return window.innerWidth <= 768;
}
export function isComment(post) {