Skip to content

Commit

Permalink
Update trs.js
Browse files Browse the repository at this point in the history
去除选中翻译文字时 出现的登录提示框
  • Loading branch information
cleviry committed Jun 11, 2021
1 parent c51337f commit f3346c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trs.js
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@
if (!K("#cyxy-popup-favour").hasClass("commit")) {
q = K(this), q.data("source_text") || q.data("source_text", this.source_text), K(this).find("." + Y).remove();
var e = this.sentence_id;
if (m(), !ke) {
/**if (m(), !ke) {
if ("share" == Ne) return A(), K(this);
if ("android" == Ne) return window.js.showLoginDialog(oe), K(this);
if ("ios" == Ne) return window.webkit.messageHandlers.showLoginDialog.postMessage({title: oe}), K(this);
Expand All @@ -581,7 +581,7 @@
}
}), K(this))
})
}
}**/
e ? j.fetchPageSentenceTargetList(e, ke, Se, function (e) {
if (0 == e.rc) {
var t, n = e.sentence;
Expand Down

0 comments on commit f3346c3

Please sign in to comment.