• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
m
no edit summary
Line 535: Line 535:  
else if (lua_time_usage >= 50) reports.push('<div style="color:purple">' + lua_time_usage + '% lua time</div>');
 
else if (lua_time_usage >= 50) reports.push('<div style="color:purple">' + lua_time_usage + '% lua time</div>');
   −
$('.mw-indicators').prepend('<pre class="page-stats" style="text-align:center;border-radius:10px;padding:10px">' + reports.join('') + '</pre>');
+
if (reports.length) $('.mw-indicators').prepend('<pre class="page-stats" style="text-align:center;border-radius:10px;padding:10px">' + reports.join('') + '</pre>');
 
}
 
}
  
7,212

edits

Navigation menu