Improve logic just in case minecraft 2.0

This commit is contained in:
amcmanu3 2024-01-28 18:22:41 -05:00
parent 06f59110fe
commit fb32f64a13

View File

@ -1235,8 +1235,8 @@
})
}
$("#server").change(function (){
console.log();
if($("#server :selected").text().split(".")[1] === "7"){
let selected_version = $("#server :selected").text().split(".");
if(parseInt(selected_version[0]) === 1 && parseInt(selected_version[1]) < 8 ){
$('[data-toggle="popover"]').popover();
if ($(window).width() < 1000) {
$('.version-hint').attr("data-placement", "top")