Simplify
authorMike Taylor <mike@indexdata.com>
Wed, 23 Apr 2014 14:31:13 +0000 (15:31 +0100)
committerMike Taylor <mike@indexdata.com>
Wed, 23 Apr 2014 14:31:13 +0000 (15:31 +0100)
src/mkws-team.js

index 72d2d96..b3cb0c4 100644 (file)
@@ -260,7 +260,6 @@ function team($, teamName) {
        resetPage();
        queue("navi").publish();
 
-       var pp2filter = "";
        var pp2limit = limit || "";
 
        // Continue to use previous query/sort-order unless new ones are specified
@@ -277,7 +276,7 @@ function team($, teamName) {
            m_filterSet.add(filter(id, id));
        }
 
-       pp2filter = m_filterSet.pp2filter();
+       var pp2filter = m_filterSet.pp2filter();
        for (var i in m_filterSet.list()) {
            var filter = m_filterSet.list()[i];
            if (!filter.id) {