Skip to content
Browse files

Improved find results

  • Loading branch information...
1 parent 73e2d07 commit 8f06f2c8e64c58f28a0895475bb03da13d186bf7 @kylebarrow committed Jul 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 chibi.js
View
4 chibi.js
@@ -1,4 +1,4 @@
-/* Chibi v0.3, Copyright (C) 2012 Kyle Barrow
+/* Chibi v0.4, Copyright (C) 2012 Kyle Barrow
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
@@ -282,7 +282,7 @@ You should have received a copy of the GNU General Public License along with thi
}
}
- return (nodes.length > 0)? nodes: false;
+ return (nodes.length > 0)? (nodes.length === 1)? nodes[0]: nodes: false;
},
// Hide node
hide: function() {

0 comments on commit 8f06f2c

Please sign in to comment.
Something went wrong with that request. Please try again.