commit: 7b10e47b21d4bd130d5d44f394e4836548899fd9
parent 4b630c3c36518853489009c27602bdae392b4c94
Author: Henry Jameson <me@hjkos.com>
Date: Mon, 28 Mar 2022 23:54:30 +0300
rename some binding hooks according to new names
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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)
}
}