X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/3193141f55df20910cf8ba35f9e669d79c90d3f4..a08a59835fa7872c69ec1a662aa7945473eeaf2b:/platforma/static/js/views/split.js diff --git a/platforma/static/js/views/split.js b/platforma/static/js/views/split.js old mode 100644 new mode 100755 index 30eda4ab..a91cab60 --- a/platforma/static/js/views/split.js +++ b/platforma/static/js/views/split.js @@ -59,6 +59,7 @@ var SplitView = View.extend({ left: this.element.position().left }).appendTo(this.element); this.views.css("-webkit-user-select", "none"); // Safari selects A/B text on a move + this.splitbar.addClass(this.activeClass); this.leftViewOffset = this.leftView[0].offsetWidth - event.pageX; @@ -84,6 +85,11 @@ var SplitView = View.extend({ $(document) .unbind('mousemove.splitview') .unbind('mouseup.splitview'); + + //from beginResize: + // this.views.css("-webkit-user-select", "none"); // Safari selects A/B text on a move + // Restore it! + this.views.css("-webkit-user-select", "auto"); }, resized: function(event) {