fix(plugin): clipboard buttons not loaded
This commit is contained in:
parent
a67909958d
commit
5cadb062da
|
@ -31,7 +31,7 @@ module.exports = class extends Component {
|
|||
return <Fragment>
|
||||
<script src={cdn('jquery', '3.3.1', 'dist/jquery.min.js')}></script>
|
||||
<script src={cdn('moment', '2.22.2', 'min/moment-with-locales.min.js')}></script>
|
||||
{clipboard && <script src={cdn('clipboard', '2.0.4', 'dist/clipboard.min.js')} async></script>}
|
||||
{clipboard && <script src={cdn('clipboard', '2.0.4', 'dist/clipboard.min.js')} defer></script>}
|
||||
<script dangerouslySetInnerHTML={{ __html: `moment.locale("${language}");` }}></script>
|
||||
<script dangerouslySetInnerHTML={{ __html: embeddedConfig }}></script>
|
||||
<script src={url_for('/js/column.js')}></script>
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"deepmerge": "^4.2.2",
|
||||
"hexo-component-inferno": "^0.10.1",
|
||||
"hexo-component-inferno": "^0.10.5",
|
||||
"inferno": "^7.3.3",
|
||||
"inferno-create-element": "^7.3.3",
|
||||
"moment": "^2.22.2",
|
||||
|
|
Loading…
Reference in New Issue