[IMP] prevent default on triple-click interrupt

bzr revid: xmo@openerp.com-20131022110015-iewvo1x0jdogswus
This commit is contained in:
Xavier Morel 2013-10-22 13:00:15 +02:00
parent 31ba0b8b5a
commit 58f1b5ad02
1 changed files with 1 additions and 0 deletions

View File

@ -350,6 +350,7 @@
// The detail attribute indicates the number of times a mouse button has been pressed
// we just want the triple click
if (e.detail !== 3) { return; }
e.preventDefault();
// Get closest block-level element to the triple-clicked
// element (using ckeditor's block list because why not)