mirror of
https://github.com/MrUnknownDE/utools.git
synced 2026-04-19 06:03:45 +02:00
fix examples
This commit is contained in:
@@ -194,7 +194,7 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p class="mt-4 text-xs text-gray-400">Klicken Sie auf "Beispiel", um die Felder oben auszufüllen.</p>
|
<p class="mt-4 text-xs text-gray-400">Klicken Sie auf "Beispiel", um die Felder oben auszufüllen und die Berechnung zu starten.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -214,8 +214,8 @@
|
|||||||
const cidr = event.target.getAttribute('data-cidr');
|
const cidr = event.target.getAttribute('data-cidr');
|
||||||
document.getElementById('ip-address').value = ip;
|
document.getElementById('ip-address').value = ip;
|
||||||
document.getElementById('cidr').value = cidr;
|
document.getElementById('cidr').value = cidr;
|
||||||
// Optional: Berechnung direkt auslösen
|
// Berechnung direkt auslösen
|
||||||
// document.getElementById('subnet-form').dispatchEvent(new Event('submit'));
|
document.getElementById('subnet-form').dispatchEvent(new Event('submit', { bubbles: true, cancelable: true }));
|
||||||
window.scrollTo({ top: 0, behavior: 'smooth' }); // Nach oben scrollen
|
window.scrollTo({ top: 0, behavior: 'smooth' }); // Nach oben scrollen
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user