More use of widgetNode
authorMike Taylor <mike@indexdata.com>
Wed, 16 Apr 2014 11:03:01 +0000 (12:03 +0100)
committerMike Taylor <mike@indexdata.com>
Wed, 16 Apr 2014 11:03:01 +0000 (12:03 +0100)
src/mkws-team.js

index 7c95c86..38b8507 100644 (file)
@@ -458,7 +458,7 @@ function team($, teamName) {
        });
 
        // on first page, hide the termlist
        });
 
        // on first page, hide the termlist
-       $(document).ready(function() { findnode(".mkwsTermlists").hide(); });
+       $(document).ready(function() { widgetNode("Termlists").hide(); });
         var container = findnode(".mkwsMOTDContainer");
        if (container.length) {
            // Move the MOTD from the provided element down into the container
         var container = findnode(".mkwsMOTDContainer");
        if (container.length) {
            // Move the MOTD from the provided element down into the container