mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-11-09 03:24:14 +01:00
Remove duplicate &text=
This commit is contained in:
parent
a398014226
commit
7b8fbad690
1 changed files with 2 additions and 2 deletions
|
@ -315,8 +315,8 @@ function initDraw() {
|
|||
let directPostJsonString = prettyJsonString
|
||||
|
||||
let directPostUrl = `https://www.reddit.com/r/${instanceSubreddit}/submit?selftext=true&title=`
|
||||
if (exportObject.id === 0) directPostUrl += `✨%20${encodeURIComponent(exportObject.name)}&text=`
|
||||
else directPostUrl += `✏%20${encodeURIComponent(exportObject.name)}&text=`
|
||||
if (exportObject.id === 0) directPostUrl += `✨%20${encodeURIComponent(exportObject.name)}`
|
||||
else directPostUrl += `✏%20${encodeURIComponent(exportObject.name)}`
|
||||
directPostUrl += "&text="
|
||||
|
||||
if (directPostJsonString.length + directPostJsonString > 7579) {
|
||||
|
|
Loading…
Reference in a new issue