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