diff --git a/view/atlasmaker/src/atlasmaker-ws.js b/view/atlasmaker/src/atlasmaker-ws.js index f30dec67..2e5a584a 100644 --- a/view/atlasmaker/src/atlasmaker-ws.js +++ b/view/atlasmaker/src/atlasmaker-ws.js @@ -721,10 +721,10 @@ export var AtlasMakerWS = { doFadeOut: 0 }); } else if (dialogType === 'info') { - const prevMsg = document.querySelector('#notifications').textContent; - document.querySelector('#notifications').textContent = msg; + const prevMsg = document.querySelector('.tools .notifications').textContent; + me.setNotification(msg); setTimeout(function() { - document.querySelector('#notifications').textContent = prevMsg; + me.setNotification(prevMsg); }, 2000); } else { me.displayDialog({