diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2013-10-16 20:43:09 +0200 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2013-11-13 19:20:16 +0100 |
commit | 0e192979d0401c8cfe889b116fffc43cc85bb9fa (patch) | |
tree | 150f9ecb76b8c21abf69d1f5bbdf073e27639f3b /ui/jquery.ui.droppable.js | |
parent | 89ae7641b0cb7054d0a7ea8617ae27c31e1749b0 (diff) | |
download | jquery-ui-0e192979d0401c8cfe889b116fffc43cc85bb9fa.tar.gz jquery-ui-0e192979d0401c8cfe889b116fffc43cc85bb9fa.zip |
Fix various coding style issues
Diffstat (limited to 'ui/jquery.ui.droppable.js')
-rw-r--r-- | ui/jquery.ui.droppable.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.droppable.js b/ui/jquery.ui.droppable.js index 0e4b65cc4..f9f2620da 100644 --- a/ui/jquery.ui.droppable.js +++ b/ui/jquery.ui.droppable.js @@ -284,7 +284,7 @@ $.ui.ddmanager = { } // Filter out elements in the current dragged item - for ( j=0; j < list.length; j++ ) { + for ( j = 0; j < list.length; j++ ) { if ( list[ j ] === m[ i ].element[ 0 ] ) { m[ i ].proportions().height = 0; continue droppablesLoop; @@ -362,7 +362,7 @@ $.ui.ddmanager = { if ( this.options.greedy ) { // find droppable parents with same scope scope = this.options.scope; - parent = this.element.parents( ":data(ui-droppable)" ).filter(function () { + parent = this.element.parents( ":data(ui-droppable)" ).filter(function() { return $( this ).droppable( "instance" ).options.scope === scope; }); |