// var x = window.matchMedia("(max-width: 700px)")
if(x.matches){// If media query matches
// if (x.matches) { // If media query matches
swal({
// swal({
title:"Sorry",
// title: "Sorry",
text:"Untuk di mobile tampilan manajemen perbaikan tidak mendukung, Silahkan akses menggunakan laptop atau PC",
// text: "Untuk di mobile tampilan manajemen perbaikan tidak mendukung, Silahkan akses menggunakan laptop atau PC",
type:"warning",
// type: "warning",
icon:"error",
// icon: "error",
confirmButtonColor:"#00BCD4"
// confirmButtonColor: "#00BCD4"
})
// })
//
setTimeout(function(){
// setTimeout(function() {
$("#panel-sm2").removeClass('active')
// $("#panel-sm2").removeClass('active')
$("#manage_perbaikan").removeClass('active')
// $("#manage_perbaikan").removeClass('active')
$("#btn-hide-all").css("display","none")
// $("#btn-hide-all").css("display", "none")
},500);
// }, 500);
}
// }
})
// })
$('.leaflet-bottom.leaflet-right>.leaflet-control-attribution.leaflet-control').html(`Powered by <a href="https://khansia.co.id" target="_blank">Khansia</a> with <a href="https://leafletjs.com" target="_blank">Leaflet</a>`)
$('.leaflet-bottom.leaflet-right>.leaflet-control-attribution.leaflet-control').html(`Powered by <a href="https://khansia.co.id" target="_blank">Khansia</a> with <a href="https://leafletjs.com" target="_blank">Leaflet</a>`)