diff options
Diffstat (limited to 'src/directives')
| -rw-r--r-- | src/directives/body_scroll_lock.js | 2 |
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) } |
