--- loncom/interface/lonmenu.pm 2014/01/06 15:05:50 1.425 +++ loncom/interface/lonmenu.pm 2014/01/06 17:31:09 1.426 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.425 2014/01/06 15:05:50 raeburn Exp $ +# $Id: lonmenu.pm,v 1.426 2014/01/06 17:31:09 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -514,7 +514,7 @@ sub create_submenu { if ($count == $numsub) { $borderbot = 'border-bottom:1px solid black;'; } - if ($href ne '') { + unless (($href eq '') || ($href =~ /^\#/)) { $target = ' target="_top"'; } $menu .= '