X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/08eafa7ea0680c755be43561ba599c7ebf3b0fff..4414d3a80488c222a54bc98309075b03cc9e37f3:/project/static/js/jquery.resizable.js diff --git a/project/static/js/jquery.resizable.js b/project/static/js/jquery.resizable.js index fafddc9e..44111ee9 100644 --- a/project/static/js/jquery.resizable.js +++ b/project/static/js/jquery.resizable.js @@ -13,7 +13,7 @@ stop: function(event) { $.resizable.element.element.trigger('resizable:stop'); $(document).unbind('mousemove', $.resizable.drag).unbind('mouseup', $.resizable.stop) - .children('body').css({cursor: 'auto'}) + $('body').css('cursor', 'auto'); return false; } }; @@ -36,9 +36,8 @@ width: parseInt(element.css('width')) || element[0].scrollWidth || 0, mouseX: event.pageX, }; - $(document).mousemove($.resizable.drag).mouseup($.resizable.stop) - .children('body').css({cursor: 'se-resize'}); - event.stopImmediatePropagation(); + $(document).mousemove($.resizable.drag).mouseup($.resizable.stop); + $('body').css('cursor', 'col-resize'); }).bind('dragstart', function(event) { event.preventDefault() }); }; })(jQuery);