Author: sevein
Date: Mon Oct 17 23:52:02 2011
New Revision: 10131

Log:
Add a new exception to blank.js filter because under .search-results is 
possible to find just an h2 tag without any other sibling.

Modified:
   trunk/js/blank.js

Modified: trunk/js/blank.js
==============================================================================
--- trunk/js/blank.js   Mon Oct 17 17:49:35 2011        (r10130)
+++ trunk/js/blank.js   Mon Oct 17 23:52:02 2011        (r10131)
@@ -8,7 +8,7 @@
           $('.section, .field', context)
             .filter(function ()
               {
-                return !$('input, #treeView', this).length
+                return !$('input, #treeView, > .search-results', this).length
                   && !jQuery.trim($(':not(h2, h2 *, h3, h3 *)', this)
                     .contents()
                     .filter(function ()

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to