Skip to content

Commit 6912a1d

Browse files
authored
Change TTL input type (#217)
1 parent dc8fce6 commit 6912a1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ttl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
<p>
3333
<label for="ttl"><abbr title="Time To Live">TTL</abbr>:</label>
34-
<input type="text" name="ttl" id="ttl" size="30" <?php echo isset($_GET['ttl']) ? 'value="'.format_html($_GET['ttl']).'"' : ''?>> <span class="info">(-1 to remove the TTL)</span>
34+
<input type="number" min="-1" name="ttl" id="ttl" size="30" <?php echo isset($_GET['ttl']) ? 'value="'.format_html($_GET['ttl']).'"' : ''?>> <span class="info">(-1 to remove the TTL)</span>
3535
</p>
3636

3737
<input type="submit" class="button" value="Edit TTL">

0 commit comments

Comments
 (0)