Standard JS code conversion + fixes
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
|
||||
if($('#page-type-view').length) {
|
||||
if ($('#page-type-view').length) {
|
||||
let currentBasePath = ($('#page-type-view').data('entrypath') !== 'home') ? $('#page-type-view').data('entrypath') : ''
|
||||
|
||||
let currentBasePath = ($('#page-type-view').data('entrypath') !== 'home') ? $('#page-type-view').data('entrypath') : '';
|
||||
|
||||
//=include ../modals/create.js
|
||||
//=include ../modals/move.js
|
||||
|
||||
}
|
||||
// =include ../modals/create.js
|
||||
// =include ../modals/move.js
|
||||
}
|
||||
|
Reference in New Issue
Block a user