Replace deprecated calls
This commit is contained in:
parent
47dc4d7864
commit
0bb4b0afdd
1 changed files with 2 additions and 2 deletions
|
@ -167,7 +167,7 @@ Zotero.QuickCopy = new function() {
|
||||||
var [mode, contentType] = mode.split('/');
|
var [mode, contentType] = mode.split('/');
|
||||||
|
|
||||||
if (mode == 'export') {
|
if (mode == 'export') {
|
||||||
var translation = new Zotero.Translate("export");
|
var translation = new Zotero.Translate.Export;
|
||||||
translation.setItems(items);
|
translation.setItems(items);
|
||||||
translation.setTranslator(format);
|
translation.setTranslator(format);
|
||||||
translation.setHandler("done", callback);
|
translation.setHandler("done", callback);
|
||||||
|
@ -411,7 +411,7 @@ Zotero.QuickCopy = new function() {
|
||||||
|
|
||||||
|
|
||||||
function _init() {
|
function _init() {
|
||||||
var translation = new Zotero.Translate("export");
|
var translation = new Zotero.Translate.Export;
|
||||||
var translators = translation.getTranslators();
|
var translators = translation.getTranslators();
|
||||||
|
|
||||||
// add styles to list
|
// add styles to list
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue