First, go to Thesis Design Options, and expand the “Sitewide JS Libraries” section (under JavaScript). Check the jQuery option, and SAVE your changes.
Then, place this code in custom_functions.php:
function custom_footer_script() { ?>
<script type="text/javascript">
jQuery("#page li:has(ul.submenu)").hover(function() {
jQuery(this).children("a").removeAttr('href');
jQuery(this).children("a").click(function () {
return false;
});
});
</script>
<?php }
add_action('thesis_hook_after_html', 'custom_footer_script');
Note that if you are using the Full-width HTML Framework, you should change #page in the code above to be .page instead.