1
0
Fork 0
mirror of https://github.com/Alamantus/Lexiconga.git synced 2025-06-06 17:26:36 +02:00

Add loading message when changing dictionaries

This commit is contained in:
Robbie Antenesse 2019-07-03 16:04:11 -06:00 committed by Robbie Antenesse
parent 88d7e4fd8c
commit d8111fbe1d

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,