plugin updates
This commit is contained in:
@@ -74,6 +74,9 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
|
||||
}).then(function (result) {
|
||||
if (result.status) {
|
||||
$container.html(result.html);
|
||||
if($container.find('.wpmf-pdfemb-viewer').length) {
|
||||
$container.find('.wpmf-pdfemb-viewer').pdfEmbedder();
|
||||
}
|
||||
}
|
||||
},
|
||||
// errors
|
||||
|
||||
@@ -33,6 +33,9 @@
|
||||
(result) => {
|
||||
if (result.status) {
|
||||
$container.html(result.html);
|
||||
if($container.find('.wpmf-pdfemb-viewer').length) {
|
||||
$container.find('.wpmf-pdfemb-viewer').pdfEmbedder();
|
||||
}
|
||||
}
|
||||
},
|
||||
// errors
|
||||
|
||||
Reference in New Issue
Block a user