|
|
@ -81,8 +81,8 @@ class Cropper extends Component {
|
|
|
|
$.ajaxSetup({
|
|
|
|
$.ajaxSetup({
|
|
|
|
cache: true
|
|
|
|
cache: true
|
|
|
|
});
|
|
|
|
});
|
|
|
|
const isDev = isDev()
|
|
|
|
const _isDev = isDev()
|
|
|
|
let _path = isDev ? 'public' : 'build'
|
|
|
|
let _path = _isDev ? 'public' : 'build'
|
|
|
|
|
|
|
|
|
|
|
|
$('head').append($('<link rel="stylesheet" type="text/css" />')
|
|
|
|
$('head').append($('<link rel="stylesheet" type="text/css" />')
|
|
|
|
.attr('href', `${_url_origin}/react/${_path}/js/cropper/cropper.min.css`));
|
|
|
|
.attr('href', `${_url_origin}/react/${_path}/js/cropper/cropper.min.css`));
|
|
|
|