Skip to content

Node.js based forum software built for the modern web

removed alert.location

psychobunnyb9316bfd2384
diff --git a/public/src/modules/alerts.js b/public/src/modules/alerts.js
index 2a3483218a..3700b64e0d 100644
--- a/public/src/modules/alerts.js
+++ b/public/src/modules/alerts.js
@@ -8,8 +8,6 @@ define('alerts', ['translator', 'components'], function(translator, components)
params.alert_id = 'alert_button_' + (params.alert_id ? params.alert_id : new Date().getTime());
params.title = params.title ? params.title.trim() || '' : '';
params.message = params.message ? params.message.trim() : '';
-
- params.location = params.location || 'right-top';
params.type = params.type || 'info';
var alert = $('#' + params.alert_id);