|
|
@ -92,7 +92,7 @@ function rcube_splitter(attrib)
|
|
|
|
this.onDragStart = function(e)
|
|
|
|
this.onDragStart = function(e)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// disable text selection while dragging the splitter
|
|
|
|
// disable text selection while dragging the splitter
|
|
|
|
if (window.webkit || bw.safari)
|
|
|
|
if (bw.konq || bw.chrome || bw.safari)
|
|
|
|
document.body.style.webkitUserSelect = 'none';
|
|
|
|
document.body.style.webkitUserSelect = 'none';
|
|
|
|
|
|
|
|
|
|
|
|
this.p1pos = this.relative ? $(this.p1).position() : $(this.p1).offset();
|
|
|
|
this.p1pos = this.relative ? $(this.p1).position() : $(this.p1).offset();
|
|
|
@ -155,7 +155,7 @@ function rcube_splitter(attrib)
|
|
|
|
this.onDragStop = function(e)
|
|
|
|
this.onDragStop = function(e)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// resume the ability to highlight text
|
|
|
|
// resume the ability to highlight text
|
|
|
|
if (window.webkit || bw.safari)
|
|
|
|
if (bw.konq || bw.chrome || bw.safari)
|
|
|
|
document.body.style.webkitUserSelect = 'auto';
|
|
|
|
document.body.style.webkitUserSelect = 'auto';
|
|
|
|
|
|
|
|
|
|
|
|
// cancel the listening for drag events
|
|
|
|
// cancel the listening for drag events
|
|
|
|