Add loading message when changing dictionaries

This commit is contained in:
Robbie Antenesse 2019-07-03 16:04:11 -06:00
parent 72a7429bfa
commit 3ebc567c33
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ export function createNewDictionary() {
export function changeDictionary(dictionary) {
dictionary = typeof dictionary.target !== 'undefined' ? dictionary.target.value : dictionary;
if (dictionary !== window.currentDictionary.externalID) {
addMessage('Loading Dictionary...');
request({
action: 'change-dictionary',
dictionary,