mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 12:31:33 +01:00
removed alert.location
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user