diff --git a/js/methods.js b/js/methods.js
index bca320c..fe8a11d 100644
--- a/js/methods.js
+++ b/js/methods.js
@@ -81,11 +81,11 @@ function checkForAdminRights() {
* @param {string} message The message to be displayed, new line will be replaced by .
*/
function notification(type, message) {
- var element = parseHTML(`
-
-
-
${(''+message).replace(/(?:\r\n|\r|\n)/g, ' ')}
-
`);
- var notifZone = document.getElementById('notification-zone');
- notifZone.appendChild(element[0]);
-}
\ No newline at end of file
+ UIkit.notification({
+ message: (''+message).replace(/(?:\r\n|\r|\n)/g, ' '),
+ status: type,
+ pos: 'top-right',
+ timeout: 5000
+ });
+}
+