Update index.php
This commit is contained in:
parent
a7e0a70f82
commit
d9987124c7
1 changed files with 1 additions and 2 deletions
|
@ -140,7 +140,7 @@
|
|||
Draw here:<br>
|
||||
<canvas id="canvas-input" width="128" height="64"></canvas>
|
||||
|
||||
<div style="border: 1px solid grey;">
|
||||
<div style="margin-bottom: 12px;">
|
||||
<button type="button" onclick="setPen();" id="pen-button">Pen</button>
|
||||
<button type="button" onclick="setEraser();" id="eraser-button">Eraser</button>
|
||||
<button type="button" onclick="clearCanvas();" id="clear-button" style="float: right;">Clear</button>
|
||||
|
@ -259,7 +259,6 @@
|
|||
<h1 class="feed-header">Global Feed</h1>
|
||||
<span class="post" id="refresh" onclick="window.location.href = 'index.php'">refresh feed</span>
|
||||
|
||||
|
||||
<?php
|
||||
// ensure the file exists before attempting to read from it
|
||||
if (!file_exists("posts.txt")) {
|
||||
|
|
Reference in a new issue