Explorar o código

Fix notify select not showing proper value on load

Cerothen %!s(int64=9) %!d(string=hai) anos
pai
achega
f612041c4e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      settings.php

+ 1 - 1
settings.php

@@ -1486,7 +1486,7 @@ echo buildSettings(
 						'labelTranslate' => 'NOTIFICATION_TYPE',
 						'name' => 'notifyEffect',
 						'onchange' => 'parent.notify(\'This is an example popup!\', \'bullhorn\', \'success\', 4000, this.value.split(\'-\')[0], this.value.split(\'-\')[1]);',
-						'value' => explode("-", NOTIFYEFFECT)[1],
+						'value' => NOTIFYEFFECT,
 						'options' => array(
 							'Slide From Top' => 'bar-slidetop',
 							'Exploader From Top' => 'bar-exploader',