mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 22:41:27 +00:00
Add readmore.js to bootstrap.js
This commit is contained in:
parent
06a931c1cb
commit
a78beb2c16
1 changed files with 1 additions and 0 deletions
1
resources/assets/js/bootstrap.js
vendored
1
resources/assets/js/bootstrap.js
vendored
|
@ -7,6 +7,7 @@ window.typeahead = require('./lib/typeahead');
|
|||
window.Bloodhound = require('./lib/bloodhound');
|
||||
window.axios = require('axios');
|
||||
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
|
||||
require('readmore-js');
|
||||
|
||||
let token = document.head.querySelector('meta[name="csrf-token"]');
|
||||
if (token) {
|
||||
|
|
Loading…
Reference in a new issue