alecpl
2010-12-10 935d1a23fef7965ab05a366d336945c8ff67f1d3
- Fix blinking selection when using splitter on Chrome


1 files modified
4 ■■■■ changed files
skins/default/splitter.js 4 ●●●● patch | view | raw | blame | history
skins/default/splitter.js
@@ -92,7 +92,7 @@
  this.onDragStart = function(e)
  {
    // disable text selection while dragging the splitter
    if (window.webkit || bw.safari)
    if (bw.konq || bw.chrome || bw.safari)
      document.body.style.webkitUserSelect = 'none';
    this.p1pos = this.relative ? $(this.p1).position() : $(this.p1).offset();
@@ -155,7 +155,7 @@
  this.onDragStop = function(e)
  {
    // resume the ability to highlight text
    if (window.webkit || bw.safari)
    if (bw.konq || bw.chrome || bw.safari)
      document.body.style.webkitUserSelect = 'auto';
    // cancel the listening for drag events