mirror of
https://github.com/requarks/wiki.git
synced 2025-02-25 18:55:30 -06:00
13 lines
347 B
JavaScript
13 lines
347 B
JavaScript
'use strict'
|
|
|
|
import $ from 'jquery'
|
|
|
|
module.exports = (alerts) => {
|
|
if ($('#page-type-view').length) {
|
|
let currentBasePath = ($('#page-type-view').data('entrypath') !== 'home') ? $('#page-type-view').data('entrypath') : ''
|
|
|
|
require('../modals/create.js')(currentBasePath)
|
|
require('../modals/move.js')(currentBasePath, alerts)
|
|
}
|
|
}
|