[IMP] prevent default on triple-click interrupt
bzr revid: xmo@openerp.com-20131022110015-iewvo1x0jdogswus
This commit is contained in:
parent
31ba0b8b5a
commit
58f1b5ad02
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue