plugin updates

This commit is contained in:
Tony Volpe
2024-09-17 10:43:54 -04:00
parent 44b413346f
commit b7c8882c8c
1359 changed files with 58219 additions and 11364 deletions

View File

@@ -75,6 +75,9 @@ class WpmfPdfEmbedDivi extends Component {
componentDidUpdate(prevProps, prevState) {
if (this.props.embed === 'on' && !this.state.embed) {
if($(this.wrap.current).find(".wpmf-pdfemb-viewer").length) {
$(this.wrap.current).find(".wpmf-pdfemb-viewer").pdfEmbedder();
}
this.setState({
embed: true
});