Skip to content

Commit 32f84e5

Browse files
moebrownearkhi
andauthored
Simplifies condition
Co-authored-by: Fabien Basmaison <[email protected]>
1 parent fcfd3cb commit 32f84e5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

index.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,7 @@ <h3><a id="developers" href="#developers">Don’t think, just strip</a></h3>
8989

9090
<pre><code>&lt;head&gt;
9191
92-
&lt;?php if(isNakedDay()) : ?&gt;
93-
&lt;!-- Naked Day has no styles --&gt;
94-
&lt;?php else: ?&gt;
92+
&lt;?php if(!isNakedDay()) : ?&gt;
9593
&lt;link rel="stylesheet" href="styles.css" /&gt;
9694
&lt;?php endif; ?&gt;
9795

0 commit comments

Comments
 (0)