mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-25 10:28:51 +00:00
Fixed issue
This commit is contained in:
parent
e28b99f40c
commit
2b8a7f08cb
5
assets/3rdparty/bootstrap-wysiwyg.js
vendored
5
assets/3rdparty/bootstrap-wysiwyg.js
vendored
@ -59,6 +59,11 @@
|
|||||||
}.bind( this ) );
|
}.bind( this ) );
|
||||||
|
|
||||||
$( window ).bind( "touchend", function( e ) {
|
$( window ).bind( "touchend", function( e ) {
|
||||||
|
|
||||||
|
//COMUNIC FIX
|
||||||
|
if(!this.getCurrentRange)
|
||||||
|
return;
|
||||||
|
|
||||||
var isInside = ( editor.is( e.target ) || editor.has( e.target ).length > 0 ),
|
var isInside = ( editor.is( e.target ) || editor.has( e.target ).length > 0 ),
|
||||||
currentRange = this.getCurrentRange(),
|
currentRange = this.getCurrentRange(),
|
||||||
clear = currentRange && ( currentRange.startContainer === currentRange.endContainer && currentRange.startOffset === currentRange.endOffset );
|
clear = currentRange && ( currentRange.startContainer === currentRange.endContainer && currentRange.startOffset === currentRange.endOffset );
|
||||||
|
Loading…
Reference in New Issue
Block a user