X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f1998474a491b131e79e8532a202f131238b7ef7..09fa65b2de2f428bc63082d379ecd6bfbd94f63c:/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);