redrawNavi was a one-line function invoked in only one place.
authorMike Taylor <mike@indexdata.com>
Fri, 21 Mar 2014 12:48:42 +0000 (12:48 +0000)
committerMike Taylor <mike@indexdata.com>
Fri, 21 Mar 2014 12:48:42 +0000 (12:48 +0000)
Inline it.

tools/htdocs/mkws.js

index 53d07fe..6d03d07 100644 (file)
@@ -576,12 +576,6 @@ function team($, teamName) {
     }
 
 
-    function redrawNavi ()
-    {
-       queue("navi").publish();
-    }
-
-
     function resetPage()
     {
        m_currentPage = 1;
@@ -592,7 +586,7 @@ function team($, teamName) {
     function triggerSearch (query, sortOrder, targets)
     {
        resetPage();
-       redrawNavi();
+       queue("navi").publish();
 
        var pp2filter = "";
        var pp2limit = "";