|
@@ -310,7 +310,7 @@ function createFlexMessageData() {
|
|
|
|
|
|
var flex = {
|
|
|
"type": "flex",
|
|
|
- "altText": _title,
|
|
|
+ "altText": 'title',
|
|
|
"contents": myFlexContent,
|
|
|
};
|
|
|
|
|
@@ -318,13 +318,9 @@ function createFlexMessageData() {
|
|
|
}
|
|
|
|
|
|
function shareTargetPicker() {
|
|
|
- var xx=createFlexMessageData() ;
|
|
|
liff
|
|
|
.shareTargetPicker([
|
|
|
-
|
|
|
-
|
|
|
- xx
|
|
|
-
|
|
|
+ createFlexMessageData()
|
|
|
])
|
|
|
.then(() => {
|
|
|
alert("Shared to the friend(s) you picked");
|