Changeset 4335 in subversion


Ignore:
Timestamp:
Dec 10, 2010 7:35:39 AM (2 years ago)
Author:
alec
Message:
  • Fix blinking selection when using splitter on Chrome
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/skins/default/splitter.js

    r3989 r4335  
    2525    this.p1pos = this.relative ? $(this.p1).position() : $(this.p1).offset(); 
    2626    this.p2pos = this.relative ? $(this.p2).position() : $(this.p2).offset(); 
    27      
     27 
    2828    if (this.horizontal) { 
    2929      var top = this.p1pos.top + this.p1.offsetHeight; 
     
    9393  { 
    9494    // disable text selection while dragging the splitter 
    95     if (window.webkit || bw.safari) 
     95    if (bw.konq || bw.chrome || bw.safari) 
    9696      document.body.style.webkitUserSelect = 'none'; 
    9797 
     
    156156  { 
    157157    // resume the ability to highlight text 
    158     if (window.webkit || bw.safari) 
     158    if (bw.konq || bw.chrome || bw.safari) 
    159159      document.body.style.webkitUserSelect = 'auto'; 
    160160 
Note: See TracChangeset for help on using the changeset viewer.