Skip to content

Commit 981e621

Browse files
committed
Fixed javascript error
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#932 Signed-off-by: Thiago Matos <thiago@lepidus.com.br>
1 parent 2d54b08 commit 981e621

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

js/ThothSection.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
return;
1717
}
1818

19+
if (typeof $.pkp.plugins.generic.thothplugin.workflow === 'undefined') {
20+
return;
21+
}
22+
1923
$.pkp.plugins.generic.thothplugin.workflow.loading = false;
2024

2125
$.pkp.plugins.generic.thothplugin.workflow.openRegister = function (publicationId) {

0 commit comments

Comments
 (0)