diff --git a/src/js/account/sync.js b/src/js/account/sync.js index 5b4df0b..b6a6b30 100644 --- a/src/js/account/sync.js +++ b/src/js/account/sync.js @@ -100,7 +100,7 @@ export function uploadWholeDictionary(asNew = false) { dictionary, }, remoteId => { window.currentDictionary.externalID = remoteId; - dictionary.getElementById('publicLink').value = document.domain + window.location.pathname + remoteId.toString(); + document.getElementById('publicLink').value = document.domain + window.location.pathname + remoteId.toString(); saveDictionary(false); addMessage('Dictionary Uploaded Successfully'); renderChangeDictionaryOptions();