* Iframe and disable will be invalid.

This commit is contained in:
zhouxudong
2022-06-30 08:35:22 +00:00
parent c216e570a9
commit 502e3db733
2 changed files with 7 additions and 2 deletions
+2
View File
@@ -136,12 +136,14 @@ function setPreview(num)
storyLink = storyLink + concat + 'onlybody=yes';
}
$('#preview' + num).removeAttr('disabled');
$('#preview' + num).modalTrigger({type:'iframe'});
$('#preview' + num).attr('href', storyLink);
}
else
{
storyLink = '#';
$('#preview' + num).attr('disabled', true);
$('#preview' + num).css('pointer-events', 'none');
$('#preview' + num).attr('href', storyLink);
}
}