mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-13 01:56:24 +02:00
fix eslint errors.
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
var noticationContainerEL = $('#js-alerts-container');
|
||||
|
||||
function addNotification(msg) {
|
||||
var n = document.createElement('div');
|
||||
//var n = document.createElement('div');
|
||||
// div.textContent = msg;
|
||||
// noticationContainerEL.appendChild(n);
|
||||
noticationContainerEL.textContent = msg;
|
||||
@ -17,4 +17,4 @@
|
||||
window.alertsService = {
|
||||
add: addNotification
|
||||
}
|
||||
})();
|
||||
})();
|
||||
|
Reference in New Issue
Block a user