create meta.faq variable
This commit is contained in:
parent
5872940524
commit
c90c30f243
@ -7,6 +7,7 @@
|
||||
"repo": "https://github.com/ccd0/4chan-x/",
|
||||
"page": "https://github.com/ccd0/4chan-x",
|
||||
"downloads": "https://ccd0.github.io/4chan-x/builds/",
|
||||
"faq": "https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions",
|
||||
"appid": "lacclbnghgdicfifcamcmcnilckjamag",
|
||||
"buildsPath": "builds/",
|
||||
"mainBranch": "master",
|
||||
|
||||
@ -575,7 +575,7 @@ mu-replace
|
||||
sp-replace
|
||||
tv-replace
|
||||
vp-replace
|
||||
[external-text:"FAQ","https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions"]
|
||||
[external-text:"FAQ","<%= meta.faq %>"]
|
||||
"""
|
||||
|
||||
QR:
|
||||
|
||||
@ -461,7 +461,7 @@ Header =
|
||||
el = $.el 'span',
|
||||
innerHTML: '''
|
||||
<%= meta.name %> needs your permission to show desktop notifications.
|
||||
[<a href='https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions#why-is-4chan-x-asking-for-permission-to-show-desktop-notifications' target=_blank>FAQ</a>]<br>
|
||||
[<a href='<%= meta.faq %>#why-is-4chan-x-asking-for-permission-to-show-desktop-notifications' target=_blank>FAQ</a>]<br>
|
||||
<button>Authorize</button> or <button>Disable</button>
|
||||
'''
|
||||
[authorize, disable] = $$ 'button', el
|
||||
|
||||
@ -715,10 +715,10 @@ QR =
|
||||
QR.cooldown.auto = false
|
||||
QR.status()
|
||||
QR.error $.el 'span',
|
||||
innerHTML: """
|
||||
innerHTML: '''
|
||||
4chan X encountered an error while posting.
|
||||
[<a href="//4chan.org/banned" target=_blank>Banned?</a>] [<a href="https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions#what-does-4chan-x-encountered-an-error-while-posting-please-try-again-mean" target=_blank>More info</a>]
|
||||
"""
|
||||
[<a href="//4chan.org/banned" target=_blank>Banned?</a>] [<a href="<%= meta.faq %>#what-does-4chan-x-encountered-an-error-while-posting-please-try-again-mean" target=_blank>More info</a>]
|
||||
'''
|
||||
extra =
|
||||
form: $.formData formData
|
||||
upCallbacks:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user