mirror of https://github.com/requarks/wiki
parent
f6c519c5dc
commit
fe0c4ce0c0
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,10 +1,12 @@
|
||||
/* global $ */
|
||||
'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') : '' // eslint-disable-line no-unused-vars
|
||||
let currentBasePath = ($('#page-type-view').data('entrypath') !== 'home') ? $('#page-type-view').data('entrypath') : ''
|
||||
|
||||
/* eslint-disable spaced-comment */
|
||||
//=include ../modals/create.js
|
||||
//=include ../modals/move.js
|
||||
/* eslint-enable spaced-comment */
|
||||
require('../modals/create.js')(currentBasePath)
|
||||
require('../modals/move.js')(currentBasePath, alerts)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in new issue