Ver código fonte

fix: $("#hotListText span").html(hots.length)

xzw 1 ano atrás
pai
commit
a31d45bcea
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      js/Hot.js

+ 1 - 0
js/Hot.js

@@ -1636,6 +1636,7 @@ window.initHot = function(model){
         var docFragment = document.createDocumentFragment();
         var hots = hotGroup.children.filter(hot=>hot.info.actionType.openHot);
         hots = hots.sort((a,b)=>{return a.order - b.order});
+        $("#hotListText span").html(hots.length)
         hots.forEach((hot)=>{
             var li = document.createElement('li');
             var span = document.createElement('span');