Update index.php

This commit is contained in:
awesomeuser 2023-08-04 20:54:22 +00:00
parent a7e0a70f82
commit d9987124c7

View file

@ -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>
@ -258,7 +258,6 @@
<!-- feed display -->
<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