diff options
author | Thomas Lange <code@nerdmind.de> | 2017-03-08 16:13:25 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2017-03-08 16:13:25 +0100 |
commit | 3aec340c6059104039d93938bc4e961cd0471d38 (patch) | |
tree | d5ca5ceb36d9efe00edd2cbcdb35a6b518c81af4 | |
parent | d335df6e628dd3ba93745336780ca3a3a6e2077b (diff) | |
download | bigpipe-3aec340c6059104039d93938bc4e961cd0471d38.tar.gz bigpipe-3aec340c6059104039d93938bc4e961cd0471d38.tar.xz bigpipe-3aec340c6059104039d93938bc4e961cd0471d38.zip |
CSS class "hidden" was replaced by the semantic HTML5 attribute "hidden".
-rwxr-xr-x | include/classes/BigPipe/BigPipe.php | 2 | ||||
-rwxr-xr-x | index.php | 1 |
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"; } @@ -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) {
|