diff options
| author | Henry Jameson <me@hjkos.com> | 2022-03-28 23:54:30 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2022-03-28 23:54:30 +0300 |
| commit | 7b10e47b21d4bd130d5d44f394e4836548899fd9 (patch) | |
| tree | 8a6ad00e21f9304cb73141baa99d984382ba3d93 | |
| parent | 4b630c3c36518853489009c27602bdae392b4c94 (diff) | |
rename some binding hooks according to new names
| -rw-r--r-- | src/directives/body_scroll_lock.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/directives/body_scroll_lock.js b/src/directives/body_scroll_lock.js index f5cc2247..b6d16790 100644 --- a/src/directives/body_scroll_lock.js +++ b/src/directives/body_scroll_lock.js @@ -55,7 +55,7 @@ const directive = { disableBodyScroll(el) } }, - componentUpdated: (el, binding) => { + updated: (el, binding) => { if (binding.oldValue === binding.value) { return } @@ -66,7 +66,7 @@ const directive = { enableBodyScroll(el) } }, - unbind: (el) => { + unmounted: (el) => { enableBodyScroll(el) } } |
