mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Fixed #3708 - Resizable: all classes added should have 'ui-' prefix, 'proxy' should be 'ui-resizable-helper'
This commit is contained in:
parent
1ff49c1322
commit
cc237b31cd
@ -9,7 +9,7 @@
|
||||
<script type="text/javascript" src="../../ui/ui.resizable.js"></script>
|
||||
<style type="text/css">
|
||||
#resizable { width: 150px; height: 150px; padding: 0.5em; background-position: top left; }
|
||||
.proxy { border: 1px dotted gray; }
|
||||
.ui-resizable-helper { border: 1px dotted gray; }
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
|
@ -27,7 +27,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
|
||||
|
||||
$.extend(o, {
|
||||
_aspectRatio: !!(o.aspectRatio),
|
||||
helper: o.helper || o.ghost || o.animate ? o.helper || 'proxy' : null,
|
||||
helper: o.helper || o.ghost || o.animate ? o.helper || 'ui-resizable-helper' : null,
|
||||
knobHandles: o.knobHandles === true ? 'ui-resizable-knob-handle' : o.knobHandles
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user