yii2mod / yii2-sweet-alert

SweetAlert widget for Yii2 framework
MIT License
43 stars 18 forks source link

Example is incorrect #2

Closed sganz closed 9 years ago

sganz commented 9 years ago

'type' must be all lower case, so 'Error', 'Success', etc will cause a JS error.

Possible values for type are - error,success,info,warning

ihorchepurnyi commented 9 years ago

Thanks for issue, example has been fixed.