Merge pull request #21 from cutls/WIP-(before-CI)

THeDesk Miria (17.1.0) complete
This commit is contained in:
Cutls
2019-03-06 21:24:29 +09:00
committed by GitHub
11 changed files with 103 additions and 103 deletions

View File

@@ -141,6 +141,11 @@ function post(mode,postvis) {
}else{
var mul=false;
}
if($("#poll-until:checked").val()=="1"){
var htt=true;
}else{
var htt=false;
}
var exin=pollCalc();
if(!exin){
todc("Error: Poll expires_in param")
@@ -148,7 +153,8 @@ function post(mode,postvis) {
toot.poll={
options: options,
expires_in: exin,
multiple: mul
multiple: mul,
hide_totals: htt
}
}
console.log(toot);