if($('#page-type-view').length) { let currentBasePath = ($('#page-type-view').data('entrypath') !== 'home') ? $('#page-type-view').data('entrypath') : ''; //=include ../modals/create.js //=include ../modals/move.js }