FIX: fix setting same height
This commit is contained in:
@@ -14,5 +14,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
@endsection
|
||||
@@ -49,7 +49,7 @@
|
||||
var newTemplateName = prompt ("@lang('admin/templates.newTemplateName')", templateName + "_" + "@lang('admin/templates.newTemplateNameSuffix')");
|
||||
|
||||
// no name given - give up
|
||||
if (newTemplateName == null) return;
|
||||
if (newTemplateName === null) return;
|
||||
|
||||
// copy given template
|
||||
$.post ('{{route('templates.postCopy')}}', {
|
||||
@@ -57,7 +57,7 @@
|
||||
newName: newTemplateName,
|
||||
_token: "{{csrf_token()}}"
|
||||
}, function (data) {
|
||||
if (data.status == 'success') {
|
||||
if (data.status === 'success') {
|
||||
location.reload ();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user