change variable for constant
This commit is contained in:
parent
3066c091d2
commit
7ca3c85645
@ -2,7 +2,7 @@
|
||||
function showAlert(text) {
|
||||
console.log("[INFO] Function showAlert() called.");
|
||||
$("#alert").html(text);
|
||||
$("#alert").slideDown().delay(<?php echo $GLOBALS['ALERT_DISSAPEAR_IN']*1000 ?>).slideUp();
|
||||
$("#alert").slideDown().delay(<?php echo ALERT_DISSAPEAR_IN*1000 ?>).slideUp();
|
||||
}
|
||||
|
||||
<?php if (Alert::defined()): ?>
|
||||
|
Loading…
Reference in New Issue
Block a user