diff --git a/app/js/post/img.js b/app/js/post/img.js
index 9fb1f641..fdbb00c1 100644
--- a/app/js/post/img.js
+++ b/app/js/post/img.js
@@ -142,7 +142,7 @@ function media(b64, type, no) {
}
todc();
$(".toot-btn-group").prop("disabled", false);
- $('select').material_select();
+ $('select').formSelect();
$("#mec").text(lang.lang_there);
M.toast({ html: lang.lang_postimg_aftupload, displayLength: 1000 })
$("#imgup").text("");
diff --git a/app/js/post/misskeystatus.js b/app/js/post/misskeystatus.js
index dfc2a72e..e5190574 100644
--- a/app/js/post/misskeystatus.js
+++ b/app/js/post/misskeystatus.js
@@ -31,7 +31,7 @@ function renoteqt(id, acct_id) {
$("#rec").text("Renote");
$("#post-acct-sel").val(acct_id);
$("#post-acct-sel").prop("disabled", true);
- $('select').material_select();
+ $('select').formSelect();
$("#textarea").attr("placeholder", lang.lang_misskeyparse_qt);
$("#textarea").focus();
}
@@ -43,7 +43,7 @@ function misskeyreply(id, acct_id) {
$("#rec").text("Renote");
$("#post-acct-sel").val(acct_id);
$("#post-acct-sel").prop("disabled", true);
- $('select').material_select();
+ $('select').formSelect();
$("#textarea").attr("placeholder", lang.lang_misskeyparse_qt);
$("#textarea").focus();
}
@@ -102,7 +102,7 @@ function reactioncustom(acct_id, id) {
$("#unreact").hide();
$("#addreact").removeClass("hide");
$("#post-acct-sel").val(acct_id);
- $('select').material_select();
+ $('select').formSelect();
localStorage.setItem("nohide", true);
show()
emojiToggle(true)
diff --git a/app/js/post/post.js b/app/js/post/post.js
index 291b35ad..525f3e00 100644
--- a/app/js/post/post.js
+++ b/app/js/post/post.js
@@ -293,7 +293,7 @@ function clear() {
if (localStorage.getItem("mainuse") == "main") {
$("#post-acct-sel").val(localStorage.getItem("main"));
}
- $('select').material_select();
+ $('select').formSelect();
$("#left-side").show();
$("#default-emoji").show();
$("#unreact").show();
diff --git a/app/js/post/secure.js b/app/js/post/secure.js
index 41188f15..770e19e2 100644
--- a/app/js/post/secure.js
+++ b/app/js/post/secure.js
@@ -45,7 +45,10 @@ function vis(set) {
var acct_id = $("#post-acct-sel").val();
localStorage.setItem("vis-memory-" + acct_id, set);
}
- M.Dropdown.getInstance($('#dropdown1')).close();
+ var ins = M.Dropdown.getInstance($('#dropdown1'))
+ if(ins){
+ ins.close();
+ }
}
function loadVis() {
var vist = localStorage.getItem("vis");
diff --git a/app/js/post/use-txtbox.js b/app/js/post/use-txtbox.js
index 44223d1b..8ef8c083 100644
--- a/app/js/post/use-txtbox.js
+++ b/app/js/post/use-txtbox.js
@@ -15,7 +15,7 @@ function re(id, ats_cm, acct_id, mode) {
$("#rec").text(lang.lang_yesno);
$("#post-acct-sel").val(acct_id);
$("#post-acct-sel").prop("disabled", true);
- $('select').material_select();
+ $('select').formSelect();
$("#textarea").attr("placeholder", lang.lang_usetxtbox_reply);
$("#textarea").focus();
var profimg = localStorage.getItem("prof_" + acct_id);
@@ -60,5 +60,5 @@ function qt(id, acct_id, at, url) {
}
$("#textarea").focus();
$("#post-acct-sel").val(acct_id);
- $('select').material_select();
+ $('select').formSelect();
}
\ No newline at end of file
diff --git a/app/js/ui/layout.js b/app/js/ui/layout.js
index 4c96de0a..640ffa0a 100644
--- a/app/js/ui/layout.js
+++ b/app/js/ui/layout.js
@@ -164,11 +164,11 @@ function parseColumn(dontclose) {
var animecss = "";
}
if (acct.type == "notf") {
- var exclude = lang.lang_excluded + ':
' +
- ' ' +
- ' ' +
- ' ' +
- ' ' +
+ var exclude = lang.lang_excluded + ':
' +
+ ' ' +
+ ' ' +
+ ' ' +
+ ' ' +
'';
if (checkNotfFilter(key)) {
exclude = exclude + ''