TheDesk Airi (ver.6)
This commit is contained in:
@@ -13,7 +13,6 @@ obj.on('dragend', function(e) {
|
||||
obj.on('dragenter', function(e) {
|
||||
if (system != "locked") {
|
||||
$("#drag").css('display', 'flex');
|
||||
more();
|
||||
}
|
||||
|
||||
});
|
||||
@@ -60,6 +59,10 @@ ipc.on('bmp-img-comp', function (event, b64) {
|
||||
function closedrop() {
|
||||
$("#drag").css('display', 'none');
|
||||
}
|
||||
//ファイル選択
|
||||
function fileselect() {
|
||||
ipc.send('file-select', "");
|
||||
}
|
||||
|
||||
//ファイル読み込み
|
||||
function handleFileUpload(files, obj) {
|
||||
|
@@ -93,13 +93,4 @@ function clear() {
|
||||
$("#post-acct-sel").prop("disabled", false);
|
||||
$('select').material_select();
|
||||
localStorage.removeItem("image");
|
||||
if ($("#post-box").hasClass("post-more")) {
|
||||
$("#file-wrap").html(
|
||||
'<input class="more-show" style="display:inline-block;" type="file" name="pic" id="upfile" onchange="pimg(document.getElementById(\'upfile\').files);" multiple>'
|
||||
);
|
||||
} else {
|
||||
$("#file-wrap").html(
|
||||
'<input class="more-show" type="file" name="pic" id="upfile" onchange="pimg(document.getElementById(\'upfile\').files);" multiple>'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user