]> source.dussan.org Git - archiva.git/commitdiff
fix typo only one return needed
authorOlivier Lamy <olamy@apache.org>
Thu, 9 Aug 2012 21:12:42 +0000 (21:12 +0000)
committerOlivier Lamy <olamy@apache.org>
Thu, 9 Aug 2012 21:12:42 +0000 (21:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1371487 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js

index 8bc309e0419aa505380c3c56328d0f9d3002f9a3..4fde6daee1d4de0440f9f319e3648f5d6cf1a40a 100644 (file)
@@ -300,8 +300,8 @@ define("archiva.search",["jquery","i18n","jquery.tmpl","choosen","knockout","kno
 
                   window.sammyArchivaApplication.setLocation(location);
                   return;
-                  return;
                 }
+
                 if ($(e.target).attr("href")=="#artifact-details-used-by-content") {
                   var dependeesContentDiv=mainContent.find("#artifact-details-used-by-content" );
                   if( $.trim(dependeesContentDiv.html()).length<1){