src/hg/js/hgTracks.js 1.34

1.34 2009/08/20 19:29:21 tdreszer
Fixed bug in my jquery code that threw exception
Index: src/hg/js/hgTracks.js
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/js/hgTracks.js,v
retrieving revision 1.33
retrieving revision 1.34
diff -b -B -U 4 -r1.33 -r1.34
--- src/hg/js/hgTracks.js	13 Aug 2009 06:49:59 -0000	1.33
+++ src/hg/js/hgTracks.js	20 Aug 2009 19:29:21 -0000	1.34
@@ -375,9 +375,9 @@
 $(document).ready(function()
 {
     // Convert map AREA gets to post the form, ensuring that cart variables are kept up to date
     if($("FORM").length > 0) {
-        $('a,area').not("[href*='#']").filter("[target='']").click(function(i) {
+        $('a,area').not("[href*='#']").not("[target]").click(function(i) {
             if(blockUseMap==true) {
                 return false;
             }
             var thisForm=$(this).parents('form');