about summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
authorCrazyRoka <rokarostuk@gmail.com>2021-12-07 19:41:49 +0200
committerCrazyRoka <rokarostuk@gmail.com>2021-12-16 18:57:59 +0200
commitbb531320ebe6c3ac6798bee4201f33741aed8fdc (patch)
tree30e68b81ea04b3a9239a41034c743823ca7d692f /util
parentdcfb756b97789b327f38c201d7f8ba34a91368ee (diff)
downloadrust-bb531320ebe6c3ac6798bee4201f33741aed8fdc.tar.gz
rust-bb531320ebe6c3ac6798bee4201f33741aed8fdc.zip
Improved performance by adding ng-if
Diffstat (limited to 'util')
-rw-r--r--util/gh-pages/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/gh-pages/index.html b/util/gh-pages/index.html
index f3aeb07a0eb..88b5c9c3f77 100644
--- a/util/gh-pages/index.html
+++ b/util/gh-pages/index.html
@@ -425,7 +425,7 @@ Otherwise, have a great day =^.^=
                     </h2>
                 </header>
 
-                <div class="list-group lint-docs" ng-class="{collapse: true, in: open[lint.id]}">
+                <ul class="list-group lint-docs" ng-if="open[lint.id]" ng-class="{collapse: true, in: open[lint.id]}">
                     <div class="list-group-item lint-doc-md" ng-bind-html="lint.docs | markdown"></div>
                     <div class="lint-additional-info-container">
                         <!-- Applicability -->