Fix DOM traversal
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 28 Sep 2009 17:10:34 +0000 (11:10 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 28 Sep 2009 17:10:34 +0000 (11:10 -0600)
imp/js/DimpBase.js

index ae5426f..5d7f078 100644 (file)
@@ -2003,7 +2003,7 @@ var DimpBase = {
     _handleFolderMouseClick: function(e)
     {
         var elt = e.element(),
-            li = elt.up();
+            li = elt.up('LI');
 
         if (!li) {
             return;