This commit is contained in:
zhouxudong
2022-03-31 14:55:04 +08:00
parent 33811f8b8d
commit 2b69acf643
2 changed files with 11 additions and 3 deletions
+5 -2
View File
@@ -113,8 +113,11 @@ function setPreview(num)
});
storyLink = createLink('story', 'view', "storyID=" + storyID);
var concat = config.requestType != 'GET' ? '?' : '&';
storyLink = storyLink + concat + 'onlybody=yes';
if(!isonlybody)
{
var concat = config.requestType != 'GET' ? '?' : '&';
storyLink = storyLink + concat + 'onlybody=yes';
}
$('#preview' + num).removeAttr('disabled');
$('#preview' + num).attr('href', storyLink);
}