mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-19 09:45:28 +01:00
Improve logic just in case minecraft 2.0
This commit is contained in:
parent
06f59110fe
commit
fb32f64a13
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user