Code cleanup renamed click function
Code cleanup renamed click function from onClk to fetchDnsRecords
This commit is contained in:
parent
285786d1a5
commit
d9699a2ed6
|
@ -29,7 +29,7 @@
|
||||||
@error('name') <span class="text-red-500">{{ $message }}
|
@error('name') <span class="text-red-500">{{ $message }}
|
||||||
</span>@enderror
|
</span>@enderror
|
||||||
<div class="input-group-append"><span class="input-group-text"><a id="fillIps" href="#"><i
|
<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>
|
title="Auto fill A and AAAA records"></i></a></span></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -257,7 +257,7 @@
|
||||||
"ipv6_in": ''
|
"ipv6_in": ''
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
onClk(event) {
|
fetchDnsRecords(event) {
|
||||||
var hostname = document.getElementById('hostname').value;
|
var hostname = document.getElementById('hostname').value;
|
||||||
|
|
||||||
if (hostname) {
|
if (hostname) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user