aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-03-08 16:13:25 +0100
committerThomas Lange <code@nerdmind.de>2017-03-08 16:13:25 +0100
commit3aec340c6059104039d93938bc4e961cd0471d38 (patch)
treed5ca5ceb36d9efe00edd2cbcdb35a6b518c81af4
parentd335df6e628dd3ba93745336780ca3a3a6e2077b (diff)
downloadbigpipe-3aec340c6059104039d93938bc4e961cd0471d38.tar.gz
bigpipe-3aec340c6059104039d93938bc4e961cd0471d38.tar.xz
bigpipe-3aec340c6059104039d93938bc4e961cd0471d38.zip
CSS class "hidden" was replaced by the semantic HTML5 attribute "hidden".
-rwxr-xr-xinclude/classes/BigPipe/BigPipe.php2
-rwxr-xr-xindex.php1
2 files changed, 1 insertions, 2 deletions
diff --git a/include/classes/BigPipe/BigPipe.php b/include/classes/BigPipe/BigPipe.php
index 098e071..9499f2e 100755
--- a/include/classes/BigPipe/BigPipe.php
+++ b/include/classes/BigPipe/BigPipe.php
@@ -90,7 +90,7 @@ class BigPipe {
$pageletJSON = json_encode($pageletJSON, (self::debugging() ? JSON_PRETTY_PRINT : NULL));
- echo "<code class=\"hidden\" id=\"_{$Pagelet->getID()}\"><!-- {$pageletHTML} --></code>\n";
+ echo "<code hidden id=\"_{$Pagelet->getID()}\"><!-- {$pageletHTML} --></code>\n";
echo "<script>BigPipe.onPageletArrive({$pageletJSON}, document.getElementById(\"_{$Pagelet->getID()}\"));</script>\n\n";
}
diff --git a/index.php b/index.php
index 2a1b1fd..d4211e8 100755
--- a/index.php
+++ b/index.php
@@ -36,7 +36,6 @@ require_once 'include/pagelets.php';
html{margin:0;padding:0;background:#B9C3D2;font-family:Calibri,Sans-Serif;}
body{max-width:1200px;margin:0 auto;}
.text{color:white;margin-bottom:30px;padding:40px;border-radius:4px;font-weight:600;text-align:center;border:4px solid black;}
- .hidden{display:none;}
</style>
<script>
var globalExecution = function globalExecution(code) {