X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/78644811ca0c6042212788dc67add42bc41fb74c..78943ca7de03a0f59b072c71540be92b5a6d433f:/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) {