Add readmore.js to bootstrap.js

This commit is contained in:
Daniel Supernault 2018-11-13 12:44:59 -07:00
parent 06a931c1cb
commit a78beb2c16
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 0 deletions

View File

@ -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) {