diff --git a/Classes/Class.Post.ux b/Classes/Class.Post.ux index 9a34806..6e5b720 100644 --- a/Classes/Class.Post.ux +++ b/Classes/Class.Post.ux @@ -4,7 +4,6 @@ - @@ -153,25 +152,29 @@ - - - - - - - - - - + + + + + + + + + + + + - - + + - - - + + + + + diff --git a/Pages/WritePage.js b/Pages/WritePage.js index 864950b..7cfde7f 100644 --- a/Pages/WritePage.js +++ b/Pages/WritePage.js @@ -58,11 +58,15 @@ function doToot() { return; } + console.log( 2 ); + var _spoiler = ''; if ( showSpoilerText.value && ( '' != spoilerText.value.replace(/\s+/g, '') ) ) { _spoiler = spoilerText.value; } + console.log( 3 ); + var _media_ids = []; // console.log( 'media_attachments has length ' + media_attachments.length ); media_attachments.forEach( function( item ) { @@ -70,6 +74,10 @@ function doToot() { _media_ids.push( item.id ); }); + console.log( 4 ); + + return; + api.sendPost( txtToToot.value, inReplyToPostId.value, _media_ids, tootVisibility.value, isSensitive.value, _spoiler diff --git a/Pages/WritePage.ux b/Pages/WritePage.ux index 2a5e565..b93c794 100644 --- a/Pages/WritePage.ux +++ b/Pages/WritePage.ux @@ -73,9 +73,6 @@ - - - @@ -84,9 +81,14 @@ + - + + + + +