Code cleanup renamed click function

Code cleanup renamed click function from onClk to fetchDnsRecords
This commit is contained in:
cp6 2022-10-31 11:48:39 +11:00
parent 285786d1a5
commit d9699a2ed6

View File

@ -29,7 +29,7 @@
@error('name') <span class="text-red-500">{{ $message }}
</span>@enderror
<div class="input-group-append"><span class="input-group-text"><a id="fillIps" href="#"><i
class="fas fa-search py-1" @click="onClk"
class="fas fa-search py-1" @click="fetchDnsRecords"
title="Auto fill A and AAAA records"></i></a></span></div>
</div>
</div>
@ -257,7 +257,7 @@
"ipv6_in": ''
},
methods: {
onClk(event) {
fetchDnsRecords(event) {
var hostname = document.getElementById('hostname').value;
if (hostname) {