mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
Replacing "touch start" with "tap" event, provided by hammer.js
fixes #3502
This commit is contained in:
parent
d35598457b
commit
da279de71b
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ init = function init() {
|
|||
$('body').addClass('touch-editor');
|
||||
|
||||
// make editor tabs touch-to-toggle in portrait mode
|
||||
$('.floatingheader').on('touchstart', function () {
|
||||
$('.floatingheader').on('tap', function () {
|
||||
$('.entry-markdown').toggleClass('active');
|
||||
$('.entry-preview').toggleClass('active');
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue