Fixed issue

This commit is contained in:
Pierre HUBERT 2018-07-03 12:12:40 +02:00
parent e28b99f40c
commit 2b8a7f08cb

View File

@ -59,6 +59,11 @@
}.bind( this ) );
$( window ).bind( "touchend", function( e ) {
//COMUNIC FIX
if(!this.getCurrentRange)
return;
var isInside = ( editor.is( e.target ) || editor.has( e.target ).length > 0 ),
currentRange = this.getCurrentRange(),
clear = currentRange && ( currentRange.startContainer === currentRange.endContainer && currentRange.startOffset === currentRange.endOffset );