<a href="contacts.html" target="_blank" onClick="popupWin = window.open(this.href, 'contacts', 'location,width=400,height=300,top=0'); popupWin.focus(); return false;">Наши координаты</a>
//Send Message
$send.on('click', () => {
if ($txtArea.val() !== '') {
let msg = $txtArea.val();
let url = `https://api.whatsapp.com/send?phone=1234567&text=${msg}`;
window.open(url);
$txtArea.val('');
}
//Send Message
$send.on('click', () => {
if ($txtArea.val() !== '') {
let msg = $txtArea.val();
let url = `https://api.whatsapp.com/send?phone=1234567&text=${msg}`;
let popupWin = window.open(url , 'contacts', 'location,width=400,height=300,top=0');
popupWin.focus();
$txtArea.val('');
}