diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-01-15 18:58:20 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-01-15 18:58:20 +0000 |
commit | 7d96a0d0966d9e680c968db2869900ac624a44ad (patch) | |
tree | 88076c2f23bb64749d7af87bc26991798dcff915 /ui/jquery.ui.draggable.js | |
parent | ab153e07c78098567b9f1e53deb9145bcd6c22d3 (diff) | |
download | jquery-ui-7d96a0d0966d9e680c968db2869900ac624a44ad.tar.gz jquery-ui-7d96a0d0966d9e680c968db2869900ac624a44ad.zip |
Widget factory: Changed _create to _init.
Partial fix for #5064 - Widget: make multiple instantiation more useful.
Diffstat (limited to 'ui/jquery.ui.draggable.js')
-rw-r--r-- | ui/jquery.ui.draggable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.draggable.js b/ui/jquery.ui.draggable.js index fcbf328db..3251a9ebd 100644 --- a/ui/jquery.ui.draggable.js +++ b/ui/jquery.ui.draggable.js @@ -41,7 +41,7 @@ $.widget("ui.draggable", $.ui.mouse, { stack: false, zIndex: false }, - _init: function() { + _create: function() { if (this.options.helper == 'original' && !(/^(?:r|a|f)/).test(this.element.css("position"))) this.element[0].style.position = 'relative'; |