init
This commit is contained in:
parent
866affdf45
commit
f081154804
|
@ -160,7 +160,6 @@ ipc.on('memory', function (event, arg) {
|
||||||
})
|
})
|
||||||
//update.html
|
//update.html
|
||||||
ipc.on('prog', function (event, arg) {
|
ipc.on('prog', function (event, arg) {
|
||||||
console.log(arg)
|
|
||||||
postMessage(["updateProg", arg], "*")
|
postMessage(["updateProg", arg], "*")
|
||||||
})
|
})
|
||||||
ipc.on('mess', function (event, arg) {
|
ipc.on('mess', function (event, arg) {
|
||||||
|
|
|
@ -29,7 +29,6 @@ function post(mode, postvis) {
|
||||||
}
|
}
|
||||||
if (domain != "kirishima.cloud") {
|
if (domain != "kirishima.cloud") {
|
||||||
if (mode != "pass" && !$("#cw").hasClass("cw-avail") && (str.length > cw_sent || (str.split("\n").length - 1) > cw_ltres)) {
|
if (mode != "pass" && !$("#cw").hasClass("cw-avail") && (str.length > cw_sent || (str.split("\n").length - 1) > cw_ltres)) {
|
||||||
console.log("out")
|
|
||||||
var plus = str.replace(/\n/g, "").slice(0, 10) + "...";
|
var plus = str.replace(/\n/g, "").slice(0, 10) + "...";
|
||||||
Swal.fire({
|
Swal.fire({
|
||||||
title: lang.lang_post_cwtitle,
|
title: lang.lang_post_cwtitle,
|
||||||
|
@ -43,7 +42,6 @@ function post(mode, postvis) {
|
||||||
showCloseButton: true,
|
showCloseButton: true,
|
||||||
focusConfirm: false,
|
focusConfirm: false,
|
||||||
}).then((result) => {
|
}).then((result) => {
|
||||||
console.log(result)
|
|
||||||
if (result.dismiss == "cancel") {
|
if (result.dismiss == "cancel") {
|
||||||
//btn3:sonomama
|
//btn3:sonomama
|
||||||
post("pass")
|
post("pass")
|
||||||
|
|
|
@ -1001,7 +1001,6 @@ function connectMisskey(acct_id, re) {
|
||||||
var mute = [];
|
var mute = [];
|
||||||
if (data.body.id.indexOf("notf:") !== -1) {
|
if (data.body.id.indexOf("notf:") !== -1) {
|
||||||
var obj = JSON.parse(mess.data).body;
|
var obj = JSON.parse(mess.data).body;
|
||||||
console.log(obj);
|
|
||||||
var popup = localStorage.getItem("popup");
|
var popup = localStorage.getItem("popup");
|
||||||
if (!popup) {
|
if (!popup) {
|
||||||
popup = 0;
|
popup = 0;
|
||||||
|
|
|
@ -70,7 +70,6 @@ if (location.search) {
|
||||||
var mode = m[1];
|
var mode = m[1];
|
||||||
var codex = m[2];
|
var codex = m[2];
|
||||||
if (mode == "share") {
|
if (mode == "share") {
|
||||||
console.log(codex);
|
|
||||||
$('textarea').focus();
|
$('textarea').focus();
|
||||||
$("#textarea").val(decodeURI(codex));
|
$("#textarea").val(decodeURI(codex));
|
||||||
show();
|
show();
|
||||||
|
|
|
@ -357,7 +357,6 @@ function relations(user, acct_id) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
}).then(function (json) {
|
}).then(function (json) {
|
||||||
var json = json[0];
|
var json = json[0];
|
||||||
console.log(json);
|
|
||||||
if (json.following) {
|
if (json.following) {
|
||||||
//自分がフォローしている
|
//自分がフォローしている
|
||||||
$("#his-data").addClass("following");
|
$("#his-data").addClass("following");
|
||||||
|
|
|
@ -116,8 +116,8 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"electronDownload": {
|
"electronDownload": {
|
||||||
"version": "5.0.1"
|
"version": "5.0.4"
|
||||||
},
|
},
|
||||||
"electronVersion": "5.0.1"
|
"electronVersion": "5.0.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user