Skip to content

Commit

Permalink
Update base.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cdhigh committed May 8, 2024
1 parent e5d089c commit f0689bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/static/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,9 @@ function PopulateMySubscribed() {
hamb_arg = [];
var fTpl = "{0}('{1}','{2}')";
//汉堡按钮弹出菜单代码
//if (need_subs) {
if (need_subs) {
hamb_arg.push({klass: 'btn-C', title: i18n.subscriptionInfo, icon: 'icon-key', act: fTpl.format('AskForSubscriptionInfo', recipe_id, recipe.account)});
//}
}
hamb_arg.push({klass: 'btn-F', title: i18n.translator, icon: 'icon-translate', act: "/translator/" + recipe_id.replace(':', '__')});
hamb_arg.push({klass: 'btn-G', title: i18n.tts, icon: 'icon-tts', act: "/tts/" + recipe_id.replace(':', '__')});
if (recipe_id.startsWith("upload:")) { //只有自己上传的recipe才能分享,内置的不用分享
Expand Down

0 comments on commit f0689bb

Please sign in to comment.