diff --git a/resources/assets/js/bootstrap.js b/resources/assets/js/bootstrap.js index 63218f7ee..bfbf75b83 100644 --- a/resources/assets/js/bootstrap.js +++ b/resources/assets/js/bootstrap.js @@ -1,7 +1,7 @@ window._ = require('lodash'); window.Popper = require('popper.js').default; import swal from 'sweetalert'; -window.pixelfed = {}; +window.pixelfed = window.pixelfed || {}; window.$ = window.jQuery = require('jquery'); require('bootstrap'); window.InfiniteScroll = require('infinite-scroll');