feat: proper window priority

This commit is contained in:
reschan 2021-10-18 11:51:35 +07:00
parent d380bb1e6c
commit b8f39a7477

15
sq2.js
View file

@ -36,6 +36,21 @@ $(document).ready(function(){
handle: '#boost-container-header',
});
$("#overall-window").mousedown(function() {
$(".window-container").css("z-index", 10);
$(this).css("z-index", 11);
});
$("#search-container").mousedown(function() {
$(".window-container").css("z-index", 10);
$(this).css("z-index", 11);
});
$("#boost-container").mousedown(function() {
$(".window-container").css("z-index", 10);
$(this).css("z-index", 11);
});
// update builds
jQuery(document).on("keypress", '.item-name', function(event){
if (event.keyCode == 13) {