This commit is contained in:
flaskfarm
2022-10-19 16:40:29 +09:00
parent 97b1f6bf48
commit c146e03cf1
26 changed files with 965 additions and 246 deletions

View File

@@ -1,5 +1,6 @@
// global socketio
$(document).ready(function(){
ResizeTextArea();
});
$(document).ready(function(){
@@ -23,6 +24,7 @@ frameSocket.on('notify', function(data){
target: '_self'
},{
type: data['type'],
z_index: 2000,
});
});
@@ -317,5 +319,17 @@ $("body").on('click', '#command_modal_input_btn', function(e) {
});
});
$(window).resize(function() {
ResizeTextArea();
});
function ResizeTextArea() {
ClientHeight = window.innerHeight
$("#command_modal").height(ClientHeight-100);
$("#command_modal_textarea").height(ClientHeight-380);
}
///////////////////////////////////////