diff --git a/app/js/login/login.js b/app/js/login/login.js
index e22c02e2..8379e79c 100644
--- a/app/js/login/login.js
+++ b/app/js/login/login.js
@@ -422,9 +422,13 @@ function multiSelector() {
var last = localStorage.getItem("main");
} else if (localStorage.getItem("last-use")) {
var last = localStorage.getItem("last-use");
+ if (last == "webview" || last == "noauth") {
+ last = "0";
+ }
} else {
- var last = 0;
+ var last = "0";
}
+ last = last + "";
var sel;
if (obj.length < 1) {
$("#src-acct-sel").html('');
@@ -433,7 +437,7 @@ function multiSelector() {
Object.keys(obj).forEach(function (key) {
var acct = obj[key];
var list = key * 1 + 1;
- if (key == last) {
+ if (key+"" === last) {
sel = "selected";
var domain = acct.domain;
localStorage.setItem("domain_" + key, domain);
diff --git a/app/js/tl/parse.js b/app/js/tl/parse.js
index 33ec62de..1800c68d 100644
--- a/app/js/tl/parse.js
+++ b/app/js/tl/parse.js
@@ -603,7 +603,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
}
} else {
if (media.type == "unknown") {
- viewer = viewer + '[' + lang.lang_parse_unknown + '] '
+ viewer = viewer + '[' + lang.lang_parse_unknown + '] '
} else {
viewer = viewer + 'HP
GitHub
-