aboutsummaryrefslogtreecommitdiff
path: root/src/directives
diff options
context:
space:
mode:
Diffstat (limited to 'src/directives')
-rw-r--r--src/directives/body_scroll_lock.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/directives/body_scroll_lock.js b/src/directives/body_scroll_lock.js
index 13a6de1c..f5cc2247 100644
--- a/src/directives/body_scroll_lock.js
+++ b/src/directives/body_scroll_lock.js
@@ -50,7 +50,7 @@ const enableBodyScroll = (el) => {
}
const directive = {
- inserted: (el, binding) => {
+ mounted: (el, binding) => {
if (binding.value) {
disableBodyScroll(el)
}