From bdd240a2308ee729680a7e9d0cf7d801dfdbe4cc Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 28 Mar 2022 17:21:42 +0300 Subject: fix some more warnings --- src/directives/body_scroll_lock.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/directives') 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) } -- cgit v1.2.3-70-g09d2