diff --git a/html/includes/modal/new_alert_rule.inc.php b/html/includes/modal/new_alert_rule.inc.php
index 7e3fca1c63..38db25a045 100644
--- a/html/includes/modal/new_alert_rule.inc.php
+++ b/html/includes/modal/new_alert_rule.inc.php
@@ -160,9 +160,7 @@ $('#create-alert').on('show.bs.modal', function (event) {
var delay = extra['delay'];
}
$('#delay').val(delay);
- if(extra['mute']) {
- $('#mute').click();
- }
+ $("[name='mute']").bootstrapSwitch('state',extra['mute']);
$('#name').val(output['name']);
}
});