Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
[mkws-moved-to-github.git] / experiments / spclient / mkws.js
index 7e6ccfb..5a3ab0a 100644 (file)
@@ -573,7 +573,7 @@ function mkws_html_all(config) {
       </table>');
     }
 
-    if ($("#mkwsRanking").length == 2) {
+    if ($("#mkwsRanking").length) {
        $("#mkwsRanking").html('\
               <form name="mkwsSelect" id="mkwsSelect" action="" >\
         ' + M('Sort by') + ' ' + mkws_html_sort(config) + '\