Commit b886f377 authored by Raph El's avatar Raph El

Hotfix taille image

parent 07325e12
......@@ -77,7 +77,7 @@ jQuery(document).ready(function() {
setTimeout(function(){
var files = document.getElementById("banner_change").files;
if (files[0].size > 5000000)
toastr.warning(<?php echo Yii::t('common','Size maximum 5Mo') ?>);
toastr.warning("<?php echo Yii::t('common','Size maximum 5Mo') ?>");
else {
for (var i = 0; i < files.length; i++) {
var file = files[i];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment