Cite this: increase timeout - reduce possibility of require error
This commit is contained in:
parent
50a921ba43
commit
de1218b343
|
@ -89,7 +89,7 @@ export class CiteThisComponent implements OnInit, OnDestroy {
|
|||
renderer.setAttribute(script2, "type", "text/javascript");
|
||||
renderer.setProperty(script2, "text","const Cite = require('citation-js')");
|
||||
renderer.appendChild(head, script2);
|
||||
}, 500);
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
}catch (e) {
|
||||
|
|
Loading…
Reference in New Issue