Skip to content

Commit 238b468

Browse files
committed
asin fixed
1 parent 4efec40 commit 238b468

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

BookReview.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,10 @@
7474
var html = imageLink + authorText + review;
7575
$('#showtext').val( html);
7676
$('#preview').html(html);
77+
const title = $('#title').val();
78+
const asin = $('#asin').val();
7779
$("#showjson").val(JSON.stringify({
78-
name: $('#title').val(),
80+
name: title,
7981
url: `http://www.amazon.com/dp/${asin}?tag=fromdevtools-20`,
8082
imageUrl: data.url
8183
}));

0 commit comments

Comments
 (0)