Fixed scroll component so it uses slot props instead of the depcrecated .

This commit is contained in:
DebaucheryLibrarian
2020-12-26 23:51:27 +01:00
parent ced8f447a7
commit c503e12adb
32 changed files with 1421 additions and 1538 deletions

View File

@@ -28,8 +28,6 @@
<script>
import { mapState } from 'vuex';
import EventBus from '../../js/event-bus';
import Warning from './warning.vue';
import Header from '../header/header.vue';
import Sidebar from '../sidebar/sidebar.vue';
@@ -49,12 +47,6 @@ async function setConsent(consent) {
}
}
function mounted() {
document.addEventListener('click', () => {
EventBus.$emit('blur');
});
}
export default {
components: {
Header,
@@ -72,7 +64,6 @@ export default {
theme,
}),
},
mounted,
methods: {
toggleSidebar,
setConsent,