From 677ec7783dad7d27c858382f2c746358ca88e048 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCbschle-Schneider?= Date: Sat, 26 Apr 2014 16:49:56 +0100 Subject: [PATCH 1/2] Reduce usage of ng-show/hide to reduce number of useless DOM elements (fixed) Progress in the direction of #87, especially on mobile. This version doesn't break everything for new users. --- index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index d6c2353..ed2fe77 100644 --- a/index.html +++ b/index.html @@ -192,7 +192,7 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel brand - +
@@ -215,15 +215,15 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel
  • - - - {{ buffer.shortName }}{{ buffer.fullName }} + + + {{ buffer.shortName }}{{ buffer.fullName }}
  • -
    +
    • From 18d1f4716b5d5a75839c28167f5e925ce292fb4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCbschle-Schneider?= Date: Sat, 26 Apr 2014 16:34:02 +0100 Subject: [PATCH 2/2] Revert "use ng-if to hide date instead of css" That actually decreases performance, because it adds a watcher to every line This reverts commit 16365db5889eda5c7c508b3c67ea540338ffae1f. --- css/glowingbear.css | 5 +++++ index.html | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/css/glowingbear.css b/css/glowingbear.css index d6e36fa..06d633c 100644 --- a/css/glowingbear.css +++ b/css/glowingbear.css @@ -340,6 +340,11 @@ img.embed { max-height: 300px; } + +table.notimestamp td.time { + display: none !important; +} + .modal ul { list-style: none; padding-left: 15px; diff --git a/index.html b/index.html index ed2fe77..cb25a35 100644 --- a/index.html +++ b/index.html @@ -241,7 +241,7 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel - + :