don't let spacebar keyups propagate outside of the title

This commit is contained in:
ansuz
2017-06-26 18:32:29 +02:00
parent 9195c0cd12
commit 7b37146034

View File

@@ -492,6 +492,8 @@ define([
$pencilIcon.show(); $pencilIcon.show();
$saveIcon.hide(); $saveIcon.hide();
//$pencilIcon.css('display', ''); //$pencilIcon.css('display', '');
} else if (e.which === 32) {
e.stopPropagation();
} }
}); });
$saveIcon.click(save); $saveIcon.click(save);