Explorar o código

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

xzw hai 1 ano
pai
achega
a31d45bcea
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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');